• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Test: sched_jitter
2===================
3This test measures scheduling jitter w/ realtime processes.
4
5It spawns a realtime thread that repeatedly times how long it takes to do a
6fixed amount of work.  It then prints out the maximum jitter seen (longest
7execution time - the shortest execution time).
8
9It also spawns off a realtime thread of higher priority that simply wakes up
10and goes back to sleep.  This tries to measure how much overhead the scheduler
11adds in switching quickly to another task and back.
12