Home
last modified time | relevance | path

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

/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp40 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &mPreviousTs); in setEnabled()
63 long long delta = (ts.tv_sec - mPreviousTs.tv_sec) * 1000000000LL + in setEnabled()
64 (ts.tv_nsec - mPreviousTs.tv_nsec); in setEnabled()
67 mPreviousTs = ts; in setEnabled()
108 long long delta = (ts.tv_sec - mPreviousTs.tv_sec) * 1000000000LL + in sample()
109 (ts.tv_nsec - mPreviousTs.tv_nsec); in sample()
111 mPreviousTs = ts; in sample()
/frameworks/av/include/cpustats/
DThreadCpuUsage.h125 struct timespec mPreviousTs; // most recent thread CPU time, valid only if mIsEnabled is true variable