|
fsautoproc
Basic file transformation automation management utility
|
Time utility functions. More...
#include <stdint.h>

Go to the source code of this file.
Enumerations | |
| enum | sleepdur_t { DUR_QUEUE = 100 , DUR_WAIT = 250 , DUR_HALT = 500 } |
| Predefined sleep durations in milliseconds for various polling cases. More... | |
Functions | |
| uint64_t | tmnow (void) |
| Get the current system time in milliseconds. | |
| void | tmsleep (uint32_t ms) |
| Sleep for the specified number of milliseconds. | |
Time utility functions.
| enum sleepdur_t |
| uint64_t tmnow | ( | void | ) |
Get the current system time in milliseconds.

| void tmsleep | ( | uint32_t | ms | ) |
Sleep for the specified number of milliseconds.
| ms | The number of milliseconds to sleep. Must be greater than 0. |
