Functions | |
| void | PTS_initialize (void) |
| Initializes the PTS facility. More... | |
| int | PTS_nsecs_to_ptus (int nanoseconds) |
| Convert a number of nanoseconds to PTUs. More... | |
| int | PTS_ptus_to_nsecs (int ptus) |
| Convert a number of ptus to nanoseconds. More... | |
| int | PTS_frequency (void) |
| Get the frequency of the PTS clock. More... | |
Nanoseconds has been chosen as the physical unit to deal in. The only limitation that this imposes is on the range, limiting these times, at least in 32 bit representations to the 2-4 second range.
|
|
Get the frequency of the PTS clock.
|
|
|
Initializes the PTS facility.
This is a one time only call to initialize internal data structures. This routine should be called as part of the library initialization sequence. |
|
|
Convert a number of nanoseconds to PTUs.
|
|
|
Convert a number of ptus to nanoseconds.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001