aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-08-26 08:19:12 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-08-26 08:19:12 -0700
commitf1c76741e8b006964679acdf34e6831e80f39766 (patch)
tree2d47e2eccf4b2509fc9a48a846aab9c738c6ff9b /include
parenta96439e02a902ea2656f3b5c9ff03096aba61f2a (diff)
parentbeb580b941af9ee24e770d759f01384c04a5cbd7 (diff)
Merge pull request #3048 from maxwell-demon/timespec
Move core/profiling/timers_preciseclock.h to core/support/ such that we
Diffstat (limited to 'include')
-rw-r--r--include/grpc/support/time.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/grpc/support/time.h b/include/grpc/support/time.h
index 4ef9c76459..f8ed893bc0 100644
--- a/include/grpc/support/time.h
+++ b/include/grpc/support/time.h
@@ -52,6 +52,9 @@ typedef enum {
/* 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_REALTIME,
+ /* CPU cycle time obtained by rdtsc instruction on x86 platforms. Epoch
+ undefined. Degrades to GPR_CLOCK_REALTIME on other platforms. */
+ GPR_CLOCK_PRECISE,
/* Unmeasurable clock type: no base, created by taking the difference
between two times */
GPR_TIMESPAN