all repos — fluxbox @ b0391221820e2104c2a8b66b5669139ab7bff8d0

custom fork of the fluxbox windowmanager

FbTk::FbTime::mono() yields microseconds since fluxbox started
Mathias Gumz akira at fluxbox dot org
commit

b0391221820e2104c2a8b66b5669139ab7bff8d0

parent

34744f504e17274aedeef5c9fca3864efb67c8f4

1 files changed, 2 insertions(+), 3 deletions(-)

jump to
M src/FbTk/FbTime.ccsrc/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; }