Loading...
Searching...
No Matches
time_units.h File Reference

Utility header providing time unit defines. More...

Detailed Description

Utility header providing time unit defines.

Definition in file time_units.h.

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HOURS_PER_DAY   (24LU)
 The number of hours per day.
 
#define MIN_PER_DAY   (1440LU)
 The number of minutes per day.
 
#define SEC_PER_DAY   (86400LU)
 The number of seconds per day.
 
#define MIN_PER_HOUR   (60LU)
 The number of minutes per hour.
 
#define SEC_PER_HOUR   (3600LU)
 The number of seconds per hour.
 
#define MS_PER_HOUR   (3600000LU)
 The number of milliseconds per hour.
 
#define US_PER_HOUR   (3600000000LU)
 The number of microseconds per hour.
 
#define SEC_PER_MIN   (60LU)
 The number of seconds per minute.
 
#define CS_PER_SEC   (100LU)
 The number of centiseconds per second.
 
#define MS_PER_SEC   (1000LU)
 The number of milliseconds per second.
 
#define MS_PER_CS   (10U)
 The number of milliseconds per centisecond.
 
#define US_PER_SEC   (1000000LU)
 The number of microseconds per second.
 
#define US_PER_MS   (1000LU)
 The number of microseconds per millisecond.
 
#define US_PER_CS   (10000U)
 The number of microseconds per centisecond.
 
#define NS_PER_US   (1000LU)
 The number of nanoseconds per microsecond.
 
#define NS_PER_MS   (1000000LU)
 The number of nanoseconds per millisecond.
 
#define NS_PER_SEC   (1000000000LLU)
 The number of nanoseconds per second.