aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/platform/env.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/platform/env.h')
-rw-r--r--tensorflow/core/platform/env.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/tensorflow/core/platform/env.h b/tensorflow/core/platform/env.h
index 787ebe654b..428a45576f 100644
--- a/tensorflow/core/platform/env.h
+++ b/tensorflow/core/platform/env.h
@@ -208,12 +208,10 @@ class Env {
// TODO(jeff,sanjay): if needed, tighten spec so relative to epoch, or
// provide a routine to get the absolute time.
- /// \brief Returns the number of micro-seconds since some fixed point in
- /// time. Only useful for computing deltas of time.
+ /// \brief Returns the number of micro-seconds since the Unix epoch.
virtual uint64 NowMicros() = 0;
- /// \brief Returns the number of seconds since some fixed point in
- /// time. Only useful for computing deltas of time.
+ /// \brief Returns the number of seconds since the Unix epoch.
virtual uint64 NowSeconds() { return NowMicros() / 1000000L; }
/// Sleeps/delays the thread for the prescribed number of micro-seconds.