Go to the source code of this file.
◆ getitimer
◆ setitimer
◆ gettimeofday
◆ settimeofday
◆ utimes
◆ __SUSECONDS_T
#define __SUSECONDS_T long int |
◆ timerisset
#define timerisset |
( |
|
__tvp | ) |
((__tvp)->tv_sec || (tvp__tvp->tv_usec) |
◆ timerclear
#define timerclear |
( |
|
__tvp | ) |
((__tvp)->tv_sec = (__tvp)->tv_usec = 0) |
◆ timercmp
#define timercmp |
( |
|
__a, |
|
|
|
__b, |
|
|
|
__op |
|
) |
| |
Value: (((__a)->tv_sec == (__b)->tv_sec) ? \
((__a)->tv_usec __op (__b)->tv_usec) : ((__a)->tv_sec __op (__b)->tv_sec))
◆ timeradd
#define timeradd |
( |
|
__a, |
|
|
|
__b, |
|
|
|
__result |
|
) |
| |
Value: do { \
(__result)->tv_sec = (__a)->tv_sec + (__b)->tv_sec; \
(__result)->tv_usec = (__a)->tv_usec + (__b)->tv_usec; \
if ((__result)->tv_usec >= 1000000) { \
++(__result)->tv_sec; \
(__result)->tv_usec -= 1000000; \
} \
} while (0)
◆ timersub
#define timersub |
( |
|
__a, |
|
|
|
__b, |
|
|
|
__result |
|
) |
| |
Value: do { \
(__result)->tv_sec = (__a)->tv_sec - (__b)->tv_sec; \
(__result)->tv_usec = (__a)->tv_usec - (__b)->tv_usec; \
if ((__result)->tv_usec < 0) { \
--(__result)->tv_sec; \
(__result)->tv_usec += 1000000; \
} \
} while (0)
◆ suseconds_t
◆ vsf_linux_sys_time_vplt_t
◆ anonymous enum
Enumerator |
---|
ITIMER_REAL | |
ITIMER_VIRTUAL | |
ITIMER_PROF | |
ITIMER_NUM | |
◆ gettimeofday()
◆ settimeofday()
◆ getitimer()
int getitimer |
( |
int |
which, |
|
|
struct itimerval * |
curr_value |
|
) |
| |
◆ setitimer()
int setitimer |
( |
int |
which, |
|
|
const struct itimerval * |
new_value, |
|
|
struct itimerval * |
old_value |
|
) |
| |
◆ futimes()
int futimes |
( |
int |
fd, |
|
|
const struct timeval |
tv[2] |
|
) |
| |
◆ utimes()
int utimes |
( |
const char * |
filename, |
|
|
const struct timeval |
times[2] |
|
) |
| |
◆ vsf_linux_sys_time_vplt