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
| #define GRN_TIME_MSEC_TO_USEC |
( |
| msec | ) |
|
Value:
#define GRN_TIME_USEC_PER_MSEC
Definition time.h:46
◆ GRN_TIME_NOW
| #define GRN_TIME_NOW |
( |
| ctx, |
|
|
| obj ) |
Value:
GRN_API void grn_time_now(grn_ctx *ctx, grn_obj *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
| #define GRN_TIME_NSEC_TO_USEC |
( |
| nsec | ) |
|
Value:
#define GRN_TIME_NSEC_PER_USEC
Definition time.h:38
◆ GRN_TIME_PACK
| #define GRN_TIME_PACK |
( |
| sec, |
|
|
| usec ) |
Value:
#define GRN_TIME_USEC_PER_SEC
Definition time.h:44
◆ GRN_TIME_UNPACK
| #define GRN_TIME_UNPACK |
( |
| time_value, |
|
|
| sec, |
|
|
| usec ) |
◆ 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
| #define GRN_TIME_USEC_TO_NSEC |
( |
| usec | ) |
|
◆ GRN_TIME_USEC_TO_SEC
| #define GRN_TIME_USEC_TO_SEC |
( |
| usec | ) |
|
◆ 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 | ) |
|
Value:
#define GRN_TIME_NSEC_PER_SEC
Definition time.h:35
◆ grn_time_utc_offset_func
| typedef int32_t(* grn_time_utc_offset_func) (int64_t unix_time, void *user_data) |
◆ 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_set_utc_offset_func()
◆ 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()