aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/profiling/timers_preciseclock.h
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2015-07-15 14:15:58 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2015-07-15 14:15:58 -0700
commit211e65be3cb1f4b6f7184c1945d8284905f79968 (patch)
treee6c7ee9e1612a6b12fa99446a72dda5d5d64769f /src/core/profiling/timers_preciseclock.h
parentffe3d2b1908933a149932502fd0607239ccef88a (diff)
parent3e5d61670e23b040ed47b2df1e4c87ee2cfec4aa (diff)
Merge branch 'master' of github.com:grpc/grpc into str_join_with_sep
Diffstat (limited to 'src/core/profiling/timers_preciseclock.h')
-rw-r--r--src/core/profiling/timers_preciseclock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/profiling/timers_preciseclock.h b/src/core/profiling/timers_preciseclock.h
index 163d52b797..5c251b47e6 100644
--- a/src/core/profiling/timers_preciseclock.h
+++ b/src/core/profiling/timers_preciseclock.h
@@ -82,7 +82,7 @@ struct grpc_precise_clock {
gpr_timespec clock;
};
static void grpc_precise_clock_now(grpc_precise_clock* clk) {
- clk->clock = gpr_now();
+ clk->clock = gpr_now(GPR_CLOCK_REALTIME);
}
#define GRPC_PRECISE_CLOCK_FORMAT "%ld.%09d"
#define GRPC_PRECISE_CLOCK_PRINTF_ARGS(clk) \