![]() |
6 лет назад | |
---|---|---|
.. | ||
Makefile.am | 6 лет назад | |
README.md | 6 лет назад | |
plugin_idlejitter.c | 6 лет назад | |
plugin_idlejitter.h | 6 лет назад |
It works like this:
A thread is spawned that requests to sleep for 20000 microseconds (20ms). When the system wakes it up, it measures how many microseconds have passed. The difference between the requested and the actual duration of the sleep, is the idle jitter. This is done at most 50 times per second, to ensure we have a good average.
This number is useful: