Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(517)

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 2254433003: When network time is unavailable, record the reason in UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile failure Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 6110fb3c1f3c44bc0073be570adf92667f10213b..2dce3091f6d1b13d5d7b8d560f7074f01a3c5b07 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -20229,6 +20229,20 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</histogram>
<histogram name="interstitial.ssl.clockstate.network" enum="ClockStates">
+ <obsolete>
+ Deprecated August 2016. Replaced with interstitial.ssl.clockstate.network2,
+ which records reasons why network time might be unavailable.
+ </obsolete>
+ <owner>mab@chromium.org</owner>
+ <summary>
+ State of the system clock, relative to network time, when an SSL
+ CERT_INVALID_DATE error is seen.
+ </summary>
+</histogram>
+
+<histogram name="interstitial.ssl.clockstate.network2"
+ enum="NetworkClockStates">
+ <owner>estark@chromium.org</owner>
<owner>mab@chromium.org</owner>
<summary>
State of the system clock, relative to network time, when an SSL
@@ -35183,6 +35197,22 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="NetworkTimeTracker.ClockDivergence" units="seconds">
+ <owner>estark@chromium.org</owner>
+ <owner>mab@chromium.org</owner>
+ <summary>
+ NetworkTimeTracker observes a tick clock and a wall clock to determine
+ whether a timestamp retrieved from the network in the past can be used to
+ compute a current timestamp. When the tick clock and wall clock diverge from
+ each other, the NetworkTimeTracker must discard the network timestamp
+ because it has no way to compute a reliable current timestamp. Whenever the
+ NetworkTimeTracker discards a network timestamp due to the tick and wall
+ clocks diverging, this histogram records the difference of the tick clock's
+ delta minus the wall clock's delta since the network timestamp was
+ retrieved.
+ </summary>
+</histogram>
+
<histogram name="NetworkTimeTracker.UpdateTimeFetchAttempted">
<obsolete>
Deprecated 08/2016 because it does not provide additional information beyond
@@ -86463,6 +86493,26 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="42" label="5230"/>
</enum>
+<enum name="NetworkClockStates" type="int">
+ <int value="0"
+ label="NETWORK_CLOCK_STATE_UNKNOWN_NO_SYNC: accuracy of system clock is
+ unknown because there is no information available from the
+ network about what time it is"/>
+ <int value="1"
+ label="NETWORK_CLOCK_STATE_UNKNOWN_SYNC_LOST: system clock is unknown
+ because the system clock has fallen out of sync with the network
+ clock since the last time that network time was retrieved"/>
+ <int value="2"
+ label="NETWORK_CLOCK_STATE_OK: system clock is roughly accurate
+ relative to network time"/>
+ <int value="3"
+ label="NETWORK_CLOCK_STATE_CLOCK_IN_PAST: system clock is in the past
+ relative to network time"/>
+ <int value="4"
+ label="NETWORK_CLOCK_STATE_CLOCK_IN_FUTURE: system clock is in the
+ future relative to network time"/>
+</enum>
+
<enum name="NetworkConnectionIPType" type="int">
<int value="0" label="IPv4"/>
<int value="1" label="IPv6"/>

Powered by Google App Engine
This is Rietveld 408576698