FbTk::FbTime::mono() yields microseconds since fluxbox started
Mathias Gumz akira at fluxbox dot org
1 files changed,
2 insertions(+),
3 deletions(-)
jump to
M
src/FbTk/FbTime.cc
→
src/FbTk/FbTime.cc
@@ -84,11 +84,10 @@ }
#endif // HAVE_MACH_ABSOLUTE_TIME - - +static uint64_t start = ::_mono(); uint64_t FbTk::FbTime::mono() { - return ::_mono(); + return ::_mono() - start; }