Timeline for Run unix command precisely at very short intervals WITHOUT accumulating time lag over time
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 21, 2015 at 7:57 | comment | added | Dmitry Grigoryev | Comparing timing results from two different computers is quite meaningless, unless you have run the original code on your system and obtained the same result as the OP. | |
| Jul 16, 2012 at 17:51 | comment | added | hhaamu |
The problem with sleep 1 is that it is guaranteed to sleep at least one second -- never less. Hence the error accumulates.
|
|
| Jul 16, 2012 at 17:05 | history | answered | lynxlynxlynx | CC BY-SA 3.0 |