

Go to the source code of this file.
Classes | |
| struct | gpr_timespec |
Typedefs | |
| typedef struct gpr_timespec | gpr_timespec |
Enumerations | |
| enum | gpr_clock_type { GPR_CLOCK_MONOTONIC = 0, GPR_CLOCK_REALTIME, GPR_CLOCK_PRECISE, GPR_TIMESPAN } |
| typedef struct gpr_timespec gpr_timespec |
Analogous to struct timespec. On some machines, absolute times may be in local time.
| enum gpr_clock_type |
The clocks we support.
| Enumerator | |
|---|---|
| GPR_CLOCK_MONOTONIC | Monotonic clock. Epoch undefined. Always moves forwards. |
| GPR_CLOCK_REALTIME | Realtime clock. May jump forwards or backwards. Settable by the system administrator. Has its epoch at 0:00:00 UTC 1 Jan 1970. |
| GPR_CLOCK_PRECISE | CPU cycle time obtained by rdtsc instruction on x86 platforms. Epoch undefined. Degrades to GPR_CLOCK_REALTIME on other platforms. |
| GPR_TIMESPAN | Unmeasurable clock type: no base, created by taking the difference between two times |
Definition at line 34 of file gpr_types.h.