Operating-system specific functions.
More...
Go to the source code of this file.
|
Status | nrg::os::init (void) |
| Perform OS initialisation routines.
|
|
void | nrg::os::uninit (void) |
| Perform OS uninitiasation routines.
|
|
uint64_t | nrg::os::microseconds () |
| Get a monotonic representation of time in microseconds.
|
|
uint64_t | nrg::os::milliseconds () |
| Get a monotonic representation of time in milliseconds.
|
|
uint64_t | nrg::os::seconds () |
| Get a monotonic representation of time in seconds.
|
|
uint32_t | nrg::os::random () |
| Returns a reasonably random number, not guaranteed to be cryptographically secure.
|
|