Free Electron
Classes | Namespaces | Macros | Functions
SystemTicker.h File Reference
#include <sys/times.h>
Include dependency graph for SystemTicker.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fe::SystemTicker
 High precision timer. More...
 

Namespaces

 fe
 kernel
 

Functions

void fe::milliSleep (long milliseconds)
 Sleep the current process for the given number of milliseconds. More...
 
void fe::microSleep (long microseconds)
 Sleep the current process for the given number of microseconds. More...
 
void fe::minimumSleep (long microseconds=1)
 Sleep the current process for the given number of microseconds or the minimum that the OS can resolve, whichever is larger. More...
 
void fe::nanoSpin (long nanoseconds)
 Delay the current thread for the given number of nanoseconds. More...
 
unsigned long fe::systemTick (void)
 Sleep the current thread for the given number of seconds and nanoseconds. More...
 
unsigned long fe::systemMicroseconds (void)
 Get the high precision microsecond timer. More...