Go to the source code of this file.
◆ GRN_TIME_MSEC_PER_SEC
| #define GRN_TIME_MSEC_PER_SEC 1000 |
◆ GRN_TIME_MSEC_TO_USEC
◆ GRN_TIME_NOW
| #define GRN_TIME_NOW |
( |
|
ctx, |
|
|
|
obj |
|
) |
| (grn_time_now((ctx), (obj))) |
◆ GRN_TIME_NSEC_PER_MSEC
| #define GRN_TIME_NSEC_PER_MSEC 1000000 |
◆ GRN_TIME_NSEC_PER_SEC
| #define GRN_TIME_NSEC_PER_SEC 1000000000 |
◆ GRN_TIME_NSEC_PER_SEC_F
| #define GRN_TIME_NSEC_PER_SEC_F 1000000000.0 |
◆ GRN_TIME_NSEC_PER_USEC
| #define GRN_TIME_NSEC_PER_USEC 1000 |
◆ GRN_TIME_NSEC_TO_USEC
◆ GRN_TIME_PACK
◆ GRN_TIME_UNPACK
| #define GRN_TIME_UNPACK |
( |
|
time_value, |
|
|
|
sec, |
|
|
|
usec |
|
) |
| |
Value: do {\
} while (0)
#define GRN_TIME_USEC_PER_SEC
Definition time.h:44
◆ GRN_TIME_USEC_PER_MSEC
| #define GRN_TIME_USEC_PER_MSEC 1000 |
◆ GRN_TIME_USEC_PER_SEC
| #define GRN_TIME_USEC_PER_SEC 1000000 |
◆ GRN_TIME_USEC_PER_SEC_F
| #define GRN_TIME_USEC_PER_SEC_F 1000000.0 |
◆ GRN_TIME_USEC_TO_NSEC
◆ GRN_TIME_USEC_TO_SEC
◆ GRN_TIMEVAL_TO_MSEC
| #define GRN_TIMEVAL_TO_MSEC |
( |
|
timeval | ) |
|
Value:
#define GRN_TIME_MSEC_PER_SEC
Definition time.h:42
#define GRN_TIME_NSEC_PER_MSEC
Definition time.h:37
◆ GRN_TIMEVAL_TO_NSEC
| #define GRN_TIMEVAL_TO_NSEC |
( |
|
timeval | ) |
(((timeval)->tv_sec * GRN_TIME_NSEC_PER_SEC) + (timeval)->tv_nsec) |
◆ grn_time_from_tm()
| GRN_API bool grn_time_from_tm |
( |
grn_ctx * |
ctx, |
|
|
int64_t * |
time, |
|
|
struct tm * |
tm |
|
) |
| |
◆ grn_time_now()
◆ grn_time_to_tm()
| GRN_API bool grn_time_to_tm |
( |
grn_ctx * |
ctx, |
|
|
int64_t |
time, |
|
|
struct tm * |
tm |
|
) |
| |
◆ grn_timeval_from_double()
◆ grn_timeval_now()