Home
last modified time | relevance | path

Searched refs:mPreviousTs (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp46 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &mPreviousTs); in setEnabled()
69 long long delta = (ts.tv_sec - mPreviousTs.tv_sec) * 1000000000LL + in setEnabled()
70 (ts.tv_nsec - mPreviousTs.tv_nsec); in setEnabled()
73 mPreviousTs = ts; in setEnabled()
114 long long delta = (ts.tv_sec - mPreviousTs.tv_sec) * 1000000000LL + in sample()
115 (ts.tv_nsec - mPreviousTs.tv_nsec); in sample()
117 mPreviousTs = ts; in sample()
/frameworks/av/media/libcpustats/include/cpustats/
DThreadCpuUsage.h125 struct timespec mPreviousTs; // most recent thread CPU time, valid only if mIsEnabled is true variable