Searched refs:_timebase (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10/libauto-186/
H A DStatistics.h115 static mach_timebase_info_data_t _timebase; local
116 if (_timebase.denom == 0) {
117 mach_timebase_info(&_timebase);
118 _timebase.denom *= 1000; // we're using microseconds instead of nanoseconds
120 return _timebase;
H A DDefinitions.h600 mach_timebase_info_data_t &_timebase; member in class:Auto::NanoTimer
603 NanoTimer() : _start(0), _stop(0), _timebase(cached_timebase_info()) {}
607 uint64_t elapsed() { return ((_stop - _start) * _timebase.numer) / _timebase.denom; }

Completed in 175 milliseconds