RetroArch
Macros | Functions
timesupp.h File Reference
#include <sys/types.h>
Include dependency graph for timesupp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TB_REQ   250
 
#define TB_SUCCESSFUL   0
 
#define TB_SECSPERMIN   60
 
#define TB_MINSPERHR   60
 
#define TB_MONSPERYR   12
 
#define TB_DAYSPERYR   365
 
#define TB_HRSPERDAY   24
 
#define TB_SECSPERDAY   (TB_SECSPERMIN*TB_MINSPERHR*TB_HRSPERDAY)
 
#define TB_SECSPERNYR   (365*TB_SECSPERDAY)
 
#define TB_MSPERSEC   1000
 
#define TB_USPERSEC   1000000
 
#define TB_NSPERSEC   1000000000
 
#define TB_NSPERMS   1000000
 
#define TB_NSPERUS   1000
 
#define TB_USPERTICK   10000
 

Functions

time_t time (time_t *timer)
 
unsigned int nanosleep (struct timespec *tb)
 

Macro Definition Documentation

◆ TB_DAYSPERYR

#define TB_DAYSPERYR   365

◆ TB_HRSPERDAY

#define TB_HRSPERDAY   24

◆ TB_MINSPERHR

#define TB_MINSPERHR   60

◆ TB_MONSPERYR

#define TB_MONSPERYR   12

◆ TB_MSPERSEC

#define TB_MSPERSEC   1000

◆ TB_NSPERMS

#define TB_NSPERMS   1000000

◆ TB_NSPERSEC

#define TB_NSPERSEC   1000000000

◆ TB_NSPERUS

#define TB_NSPERUS   1000

◆ TB_REQ

#define TB_REQ   250

◆ TB_SECSPERDAY

#define TB_SECSPERDAY   (TB_SECSPERMIN*TB_MINSPERHR*TB_HRSPERDAY)

◆ TB_SECSPERMIN

#define TB_SECSPERMIN   60

◆ TB_SECSPERNYR

#define TB_SECSPERNYR   (365*TB_SECSPERDAY)

◆ TB_SUCCESSFUL

#define TB_SUCCESSFUL   0

◆ TB_USPERSEC

#define TB_USPERSEC   1000000

◆ TB_USPERTICK

#define TB_USPERTICK   10000

Function Documentation

◆ nanosleep()

unsigned int nanosleep ( struct timespec *  tb)

◆ time()

time_t time ( time_t *  timer)