Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2012-08-03 09:41:21 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:41:38 +0300
commitf4b33383f82da6621ab065fa31962c6f0b52c27d (patch)
treebd09f8636b02a9d3c7599e68540e85cdae230f90 /base
parentc11b704eb996892c3de8919f9c3be0be27203493 (diff)
Add some comments to my::Timer API.
Diffstat (limited to 'base')
-rw-r--r--base/timer.hpp2
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();
};