Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-10-16 16:34:15 +0000
committerStijn Buys <ingar@osirion.org>2008-10-16 16:34:15 +0000
commit1a28393dabf4f4696bf433ddde52e7a25253c955 (patch)
tree4d4fa4034f30fc882a78ab6ea148a32e83b9e88c /src/core/timer.h
parent1e0df536c2fae85c317ce9c3cc17603d5f98c911 (diff)
various user interface related updates
Diffstat (limited to 'src/core/timer.h')
-rw-r--r--src/core/timer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/timer.h b/src/core/timer.h
index 9e172bf..b878875 100644
--- a/src/core/timer.h
+++ b/src/core/timer.h
@@ -28,11 +28,14 @@ public:
*/
void mark();
- /*! return the time elapsed since the last mark
+ /*! return the time elapsed since the last mark, in seconds
* @see mark()
*/
float elapsed();
+ /// return timestamp since last mark, in microseconds
+ unsigned long timestamp();
+
private:
float timer_elapsed;
struct timezone timer_tz;