![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
Timing utilities. More...
Include dependency graph for n_time.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | N_TIME |
| Timing Structure. More... | |
Functions | |
| time_t | get_msec (N_TIME *timer) |
| Poll any N_TIME HiTimer, returning msec, and moving currentTime to startTime. | |
| time_t | get_sec (N_TIME *timer) |
| Poll any N_TIME HiTimer, returning sec, and moving currentTime to startTime. | |
| time_t | get_usec (N_TIME *timer) |
| Poll any N_TIME HiTimer, returning usec, and moving currentTime to startTime. | |
| void | PAUSE (void) |
| make a pause in a terminal | |
| int | start_HiTimer (N_TIME *timer) |
| Initialize or restart from zero any N_TIME HiTimer. | |
| void | u_sleep (unsigned int usec) |
| wrapper around usleep for API consistency | |