summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-09 00:03:36 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-09 00:03:36 +0000
commit3967e32d1c2dbfc1070a816fe6ae871dfbb407de (patch)
treeaecff8dbecb8ffa7117a69c2c482b7c1f73d7e86
parent9904e929b2642d84e90769ec7d0bce6f2ade8b2a (diff)
downloadchromium_src-3967e32d1c2dbfc1070a816fe6ae871dfbb407de.zip
chromium_src-3967e32d1c2dbfc1070a816fe6ae871dfbb407de.tar.gz
chromium_src-3967e32d1c2dbfc1070a816fe6ae871dfbb407de.tar.bz2
Clarify comments in base/time.h
BUG= Review URL: https://chromiumcodereview.appspot.com/11088011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160749 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--base/time.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/base/time.h b/base/time.h
index ceed500..e33cb75 100644
--- a/base/time.h
+++ b/base/time.h
@@ -3,18 +3,19 @@
// found in the LICENSE file.
// Time represents an absolute point in time, internally represented as
-// microseconds (s/1,000,000) since a platform-dependent epoch. Each
-// platform's epoch, along with other system-dependent clock interface
-// routines, is defined in time_PLATFORM.cc.
+// microseconds (s/1,000,000) since the Windows epoch (1601-01-01 00:00:00 UTC)
+// (See http://crbug.com/14734). System-dependent clock interface routines are
+// defined in time_PLATFORM.cc.
//
// TimeDelta represents a duration of time, internally represented in
// microseconds.
//
-// TimeTicks represents an abstract time that is always incrementing for use
-// in measuring time durations. It is internally represented in microseconds.
-// It can not be converted to a human-readable time, but is guaranteed not to
-// decrease (if the user changes the computer clock, Time::Now() may actually
-// decrease or jump).
+// TimeTicks represents an abstract time that is most of the time incrementing
+// for use in measuring time durations. It is internally represented in
+// microseconds. It can not be converted to a human-readable time, but is
+// guaranteed not to decrease (if the user changes the computer clock,
+// Time::Now() may actually decrease or jump). But note that TimeTicks may
+// "stand still", for example if the computer suspended.
//
// These classes are represented as only a 64-bit value, so they can be
// efficiently passed by value.