diff options
author | vng <viktor.govako@gmail.com> | 2012-08-03 09:41:21 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:41:38 +0300 |
commit | f4b33383f82da6621ab065fa31962c6f0b52c27d (patch) | |
tree | bd09f8636b02a9d3c7599e68540e85cdae230f90 /base | |
parent | c11b704eb996892c3de8919f9c3be0be27203493 (diff) |
Add some comments to my::Timer API.
Diffstat (limited to 'base')
-rw-r--r-- | base/timer.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/timer.hpp b/base/timer.hpp index 232e76fc10..af6cb32272 100644 --- a/base/timer.hpp +++ b/base/timer.hpp @@ -15,7 +15,9 @@ class Timer public: Timer(); + /// @return current UTC time in seconds, elapsed from 1970. static double LocalTime(); + /// @return Elapsed time in seconds from start (@see Reset). double ElapsedSeconds() const; void Reset(); }; |