zttest8
Test if the zaptel timer provides timely response
Usage
zttest [-v]
Overview
zttest zttest runs a timing test in a loop and prints the result of each loop. The test is as follows:
It reads 8192 bytes from the zaptel timer device (/dev/zap/pseudo). This should take exactly 8000 ms . It uses calls to gettimeofday(2) before and after that read to check that indeed exactly 8000ms have passed.
Values of 100% and 99.99% Are normally considered a definite pass. Values of 99.98% and 99.97% are probably OK as well.
Options
-
-v -
Be more verbose: print one line per test.
-
-c count -
Run for count times instead of running forever.
Files
/dev/zap/pseudo
The device file used to access the zaptel timer.
Releases
2 releases since Debian 4.0 (Etch); the text changed 1 time.
-c since Debian 5.0 (Lenny).