Home
last modified time | relevance | path

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

/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp45 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &mPreviousTs); in setEnabled()
68 long long delta = (ts.tv_sec - mPreviousTs.tv_sec) * 1000000000LL + in setEnabled()
69 (ts.tv_nsec - mPreviousTs.tv_nsec); in setEnabled()
72 mPreviousTs = ts; in setEnabled()
113 long long delta = (ts.tv_sec - mPreviousTs.tv_sec) * 1000000000LL + in sample()
114 (ts.tv_nsec - mPreviousTs.tv_nsec); in sample()
116 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