This is the test of sched_setscheduler and gettimeofday described
in 

Finney, S.A., (in press), Behavior Research Methods, Instruments,
and Computers, "Real-time data collection in Linux: A case study".

It is not well documented, but you ought to be able to figure it
out...compile the binaries with makebinaries.sh (properly, should
run this script as root), then runtests.sh (which assumes that 300
seconds is enough time for all the background processes to finish).

sf
