|
| 1 | + |
| 2 | + |
1 | 3 | # cliTimer |
2 | | -Simple time provider and two point time differential calculator |
| 4 | + |
| 5 | + - A simple and semi accurate timer utility to time commandline executions times. |
| 6 | + - #### My preferred installation method. |
| 7 | + 1. clone the repository. |
| 8 | + 2. 'cd \<directory cloned to\>' |
| 9 | + 3. 'sudo pip install .' |
| 10 | + - ### COMMAND LINE OPTIONS |
| 11 | + - 'cliTimer -h' for help. |
| 12 | + - 'cliTimer -t' returns a date in the format '2022/06/06 19:25:04.354975' |
| 13 | + - 'cliTimer -m' returns a date in the format '1654565154.486381' |
| 14 | + - 'cliTimer -r \<start time\> \<end time\>' returns the result of \<end time\> - \<start time\> in the format '2022/06/06 19:25:04.354975' |
| 15 | + - Start time and end time can be entered in either supported format. |
| 16 | + - The '-t' format needs to be quoted, the '-m' can be either quoted or not. |
| 17 | + - 'cliTimer -s \<start time\> \<end time\>' returns the result of \<end time\> - \<start time\> in the format '1654565154.486381' |
| 18 | + - Start time and end time can be entered in either supported format. |
| 19 | + - The '-t' format needs to be quoted, the '-m' can be either quoted or not. |
| 20 | + - '-f' switch to full result format. |
| 21 | + - Full result format will be one of the following based on the '-r' or '-s' choice made. |
| 22 | + - --- |
| 23 | + - End Time 1654565154.486381 |
| 24 | + - Start Time 2022/06/06 19:25:04.354975 |
| 25 | + - = Result 0000/00/00/ 00:00:51.868594 |
| 26 | + - ___ |
| 27 | + - or |
| 28 | + - ___ |
| 29 | + - End Time 1654565154.486381 |
| 30 | + - Start Time 2022/06/06 19:25:04.354975 |
| 31 | + - = Result 51.868594 |
| 32 | + - Start and end times are always displayed as entered. |
| 33 | + - ##### KNOWN ISSUES |
| 34 | + - Using '-t' format is less accurate than using -m format. |
| 35 | + - Easiest workaround is to enter start and end times as '-m' and get results as '-r'. |
0 commit comments