dahdi_test(8)

dahdi_test8

Test if the dahdi timer provides timely response

Usage

dahdi_test [-v]

Overview

dahdi_test dahdi_test 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 DAHDI timer device (/dev/dahdi/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/dahdi/pseudo

The device file used to access the DAHDI timer.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7–13

Author

This manual page was written by Tzafrir Cohen <[email protected]> Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.

From dahdi 1:3.1.0-2.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.