From OpenSCADAWiki
Jump to: navigation, search

For the real-time level testing on different kernels will be used the utility "Cyclictest", whose typical command line call and its arguments look like "$ cyclictest -t1 -c1 -p 80 -n -i 200 -l 100000". Where:

  • -t1 — single testing thread;
  • -с1 — using the clock of real-time CLOCK_REALTIME;
  • -p 80 — priority of the testing thread;
  • -n — using the function "clock_nanosleep";
  • -i 200 — polling interval of the testing thread: 200 us, as closer to the average value 50 us;
  • -l 100000 — testing iterations number.