RetroArch
timesupp.h
Go to the documentation of this file.
1 #ifndef __TIMESUPP_H__
2 #define __TIMESUPP_H__
3 
4 #define TB_REQ 250
5 #define TB_SUCCESSFUL 0
6 
7 #define TB_SECSPERMIN 60
8 #define TB_MINSPERHR 60
9 #define TB_MONSPERYR 12
10 #define TB_DAYSPERYR 365
11 #define TB_HRSPERDAY 24
12 #define TB_SECSPERDAY (TB_SECSPERMIN*TB_MINSPERHR*TB_HRSPERDAY)
13 #define TB_SECSPERNYR (365*TB_SECSPERDAY)
14 
15 #define TB_MSPERSEC 1000
16 #define TB_USPERSEC 1000000
17 #define TB_NSPERSEC 1000000000
18 #define TB_NSPERMS 1000000
19 #define TB_NSPERUS 1000
20 #define TB_USPERTICK 10000
21 
22 #include <sys/types.h>
23 
24 time_t time(time_t *timer);
25 unsigned int nanosleep(struct timespec *tb);
26 
27 #endif
Definition: btstack_hid.c:110
unsigned int nanosleep(struct timespec *tb)
time_t time(time_t *timer)