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

Go to the source code of this file.

Macros

#define TB_TIMER_CLOCK   (TB_BUS_CLOCK/4000)
 
#define TB_MSPERSEC   1000
 
#define TB_USPERSEC   1000000
 
#define TB_NSPERSEC   1000000000
 
#define TB_NSPERMS   1000000
 
#define TB_NSPERUS   1000
 
#define TB_USPERTICK   10000
 
#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)
 

Functions

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_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_TIMER_CLOCK

#define TB_TIMER_CLOCK   (TB_BUS_CLOCK/4000)

◆ TB_USPERSEC

#define TB_USPERSEC   1000000

◆ TB_USPERTICK

#define TB_USPERTICK   10000

Function Documentation

◆ nanosleep()

int nanosleep ( struct timespec *  tb)
Here is the caller graph for this function: