aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/profiling/timers_preciseclock.h
diff options
context:
space:
mode:
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) \