34 #include <sys/types.h> 40 LARGE_INTEGER frequency;
41 if(QueryPerformanceFrequency(&frequency))
58 if (QueryPerformanceCounter(&qpc))
83 #if defined(_POSIX_TIMERS) && ( _POSIX_TIMERS > 0 ) && defined(_POSIX_MONOTONIC_CLOCK) 89 clock_gettime(CLOCK_MONOTONIC, &ts);
98 gettimeofday(&tv, NULL);
void setStartTick()
Set the start.
unsigned long long Timer_t
static ossimTimer * instance()
Timer class is used for measuring elapsed time or time between two points.
static ossimTimer * m_instance
Timer_t tick() const
Get the timers tick value.
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)