![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
common time function More...
Include dependency graph for n_time.c:Go to the source code of this file.
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 | |