Searched refs:m_tBegin (Results 1 – 2 of 2) sorted by relevance
53 int ret = clock_gettime(CLOCK_MONOTONIC, &m_tBegin); in Start()56 memset(&m_tBegin, 0, sizeof(m_tBegin)); in Start()71 unsigned long elapsed = (tp.tv_sec - m_tBegin.tv_sec) * 1000000; in GetElapsed()72 return (m_tBegin.tv_nsec > tp.tv_nsec) ? elapsed - (m_tBegin.tv_nsec - tp.tv_nsec) / 1000 in GetElapsed()73 : elapsed + (tp.tv_nsec - m_tBegin.tv_nsec) / 1000; in GetElapsed()84 unsigned long elapsed = (tp.tv_sec - m_tBegin.tv_sec) * 1000000; in GetElapsedUpdate()85 elapsed = (m_tBegin.tv_nsec > tp.tv_nsec) ? elapsed - (m_tBegin.tv_nsec - tp.tv_nsec) / 1000 in GetElapsedUpdate()86 : elapsed + (tp.tv_nsec - m_tBegin.tv_nsec) / 1000; in GetElapsedUpdate()88 m_tBegin = tp; in GetElapsedUpdate()
78 timespec m_tBegin; variable