|
| GPRAPI gpr_timespec | gpr_time_0 (gpr_clock_type type) |
| | Time constants. More...
|
| |
| GPRAPI gpr_timespec | gpr_inf_future (gpr_clock_type type) |
| | The zero time interval. More...
|
| |
| GPRAPI gpr_timespec | gpr_inf_past (gpr_clock_type type) |
| | The far future. More...
|
| |
| GPRAPI void | gpr_time_init (void) |
| | initialize time subsystem More...
|
| |
| GPRAPI gpr_timespec | gpr_now (gpr_clock_type clock) |
| | Return the current time measured from the given clocks epoch. More...
|
| |
| GPRAPI gpr_timespec | gpr_convert_clock_type (gpr_timespec t, gpr_clock_type target_clock) |
| | Convert a timespec from one clock to another. More...
|
| |
| GPRAPI int | gpr_time_cmp (gpr_timespec a, gpr_timespec b) |
| | Return -ve, 0, or +ve according to whether a < b, a == b, or a > b respectively. More...
|
| |
| GPRAPI gpr_timespec | gpr_time_max (gpr_timespec a, gpr_timespec b) |
| |
| GPRAPI gpr_timespec | gpr_time_min (gpr_timespec a, gpr_timespec b) |
| |
| GPRAPI gpr_timespec | gpr_time_add (gpr_timespec a, gpr_timespec b) |
| | Add and subtract times. More...
|
| |
| GPRAPI gpr_timespec | gpr_time_sub (gpr_timespec a, gpr_timespec b) |
| |
| GPRAPI gpr_timespec | gpr_time_from_micros (int64_t x, gpr_clock_type clock_type) |
| | Return a timespec representing a given number of time units. More...
|
| |
| GPRAPI gpr_timespec | gpr_time_from_nanos (int64_t x, gpr_clock_type clock_type) |
| |
| GPRAPI gpr_timespec | gpr_time_from_millis (int64_t x, gpr_clock_type clock_type) |
| |
| GPRAPI gpr_timespec | gpr_time_from_seconds (int64_t x, gpr_clock_type clock_type) |
| |
| GPRAPI gpr_timespec | gpr_time_from_minutes (int64_t x, gpr_clock_type clock_type) |
| |
| GPRAPI gpr_timespec | gpr_time_from_hours (int64_t x, gpr_clock_type clock_type) |
| |
| GPRAPI int32_t | gpr_time_to_millis (gpr_timespec timespec) |
| |
| GPRAPI int | gpr_time_similar (gpr_timespec a, gpr_timespec b, gpr_timespec threshold) |
| | Return 1 if two times are equal or within threshold of each other, 0 otherwise. More...
|
| |
| GPRAPI void | gpr_sleep_until (gpr_timespec until) |
| | Sleep until at least 'until' - an absolute timeout. More...
|
| |
| GPRAPI double | gpr_timespec_to_micros (gpr_timespec t) |
| |