blob: 3d3117f114f7ad268c107ae487f6e2d6e4cdece0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# stopwatch
simple, fast, non-cpu-intensive high-accuracy stopwatch for the terminal.
this program is designed for machines running a unix system interface via terminal/tty. i have done mostly all i could think of to reduce its program size, speed and accuracy, whilst making sure it sleeps for 999us inbetween iterations as to not pressure the cpu core that it runs on.
a static build of the executable is provided alongside the code.
# instructions
instructions are included in the code.
```
space => start / pause / resume
ctrl+c / ctrl+d / eof => exit
```
this only works on unix.
|