android13/external/ltp/testcases/realtime/func/sched_jitter
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
Makefile initial 2024-06-22 20:45:49 +08:00
README initial 2024-06-22 20:45:49 +08:00
run_auto.sh initial 2024-06-22 20:45:49 +08:00
sched_jitter.c initial 2024-06-22 20:45:49 +08:00

README

Test: sched_jitter
===================
This test measures scheduling jitter w/ realtime processes.

It spawns a realtime thread that repeatedly times how long it takes to do a
fixed amount of work.  It then prints out the maximum jitter seen (longest
execution time - the shortest execution time).

It also spawns off a realtime thread of higher priority that simply wakes up
and goes back to sleep.  This tries to measure how much overhead the scheduler
adds in switching quickly to another task and back.