diff options
author | Muxi Yan <mxyan@google.com> | 2017-11-10 16:50:29 -0800 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2017-11-10 16:50:29 -0800 |
commit | 39662f682eb977ce491b3dd52484647f7d48b96b (patch) | |
tree | b2015f1ee03284caf780c3d6060138249b79a90b /src/core/lib/iomgr/timer_manager.cc | |
parent | f8136e37f21ad3d244332eee4e9c5e537c65f9b6 (diff) |
Add comments
Diffstat (limited to 'src/core/lib/iomgr/timer_manager.cc')
-rw-r--r-- | src/core/lib/iomgr/timer_manager.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/timer_manager.cc b/src/core/lib/iomgr/timer_manager.cc index 3de87cbf60..bb2a0e0d44 100644 --- a/src/core/lib/iomgr/timer_manager.cc +++ b/src/core/lib/iomgr/timer_manager.cc @@ -226,7 +226,8 @@ static void timer_main_loop(grpc_exec_ctx* exec_ctx) { grpc_millis next = GRPC_MILLIS_INF_FUTURE; grpc_exec_ctx_invalidate_now(exec_ctx); - // Check if it is time to update g_start_time + /* Calibrate g_start_time in exec_ctx.cc with a regular interval in case the + * system clock has changed */ grpc_exec_ctx_maybe_update_start_time(exec_ctx); // check timer state, updates next to the next time to run a check |