FbTk::FbTime::mono() yields microseconds since fluxbox started

This commit is contained in:
Mathias Gumz 2013-02-10 11:10:36 +01:00
parent 34744f504e
commit b039122182

View file

@ -84,11 +84,10 @@ uint64_t _mono() {
#endif // HAVE_MACH_ABSOLUTE_TIME
static uint64_t start = ::_mono();
uint64_t FbTk::FbTime::mono() {
return ::_mono();
return ::_mono() - start;
}