diff options
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/FbTime.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/FbTk/FbTime.cc b/src/FbTk/FbTime.cc index c86edb1..7af8d35 100644 --- a/src/FbTk/FbTime.cc +++ b/src/FbTk/FbTime.cc | |||
@@ -84,11 +84,10 @@ uint64_t _mono() { | |||
84 | 84 | ||
85 | #endif // HAVE_MACH_ABSOLUTE_TIME | 85 | #endif // HAVE_MACH_ABSOLUTE_TIME |
86 | 86 | ||
87 | 87 | static uint64_t start = ::_mono(); | |
88 | |||
89 | 88 | ||
90 | uint64_t FbTk::FbTime::mono() { | 89 | uint64_t FbTk::FbTime::mono() { |
91 | return ::_mono(); | 90 | return ::_mono() - start; |
92 | } | 91 | } |
93 | 92 | ||
94 | 93 | ||