File: README

package info (click to toggle)
rtlinux 2.0rel-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,068 kB
  • ctags: 1,178
  • sloc: ansic: 7,169; makefile: 779; sh: 89
file content (31 lines) | stat: -rw-r--r-- 847 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
This example tests the scheduling accuracy. The relevant
files are rt_process.c and monitor.c. Run make test to try it out.

min: is the minimum rt_task latency (how much time a task ran late)
in nanoseconds during a measurement cycle.
max: is the maximum. The jitter is max-min.

You can change use several module parameters in rt_process.c.
For example, try
insmod rt_process.o advance=25000

Parameters:

period: period in nanoseconds; default = 1000000

advance: if non-zero, schedule interrupts to occur this many nanoseconds early
	to reduce jitter; default = 0

ntests: number of tests in the measurement cycle; default = 500

mode: 1 - periodic mode, 0 - oneshot; default=0


Example to use histplot
./monitor > m.out&
./histplot m.out m.res

This will show you the histogram of the jitter.
  ( PSW )

(C) 1999 Michael Barabanov 1997-1999