Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/14172


Change subject: [gutil] introduce CLOCK_MONOTONIC_RAW (on linux)
......................................................................

[gutil] introduce CLOCK_MONOTONIC_RAW (on linux)

This patch adds accessor method to CLOCK_MONOTONIC_RAW clock source
on Linux.  This functionality will be used by follow-up changelists
which implement the built-in Kudu NTP client (one of those is
https://gerrit.cloudera.org/#/c/7477).

In essence, CLOCK_MONOTINIC_RAW is a better clock source than
CLOCK_MONOTONIC for NTP-related calculations since CLOCK_MONOTONIC_RAW
is not a subject to adjustments by the kernel's NTP discipline.  Having
less drives for the clock is better when sampling local clock readings
to estimate delays in NTP packet exchange between the client and the
servers, especially when counting in the skew of the clock into the
computations.

Change-Id: I88c787fe7aee6aa55943cbadfd2be4f43053f6ad
---
M src/kudu/gutil/CMakeLists.txt
A src/kudu/gutil/walltime-test.cc
M src/kudu/gutil/walltime.h
3 files changed, 92 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/72/14172/1
--
To view, visit http://gerrit.cloudera.org:8080/14172
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I88c787fe7aee6aa55943cbadfd2be4f43053f6ad
Gerrit-Change-Number: 14172
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to