HomeSort by relevance Sort by last modified time
    Searched refs:mMonotonicTs (Results 1 - 2 of 2) sorted by null

  /frameworks/base/include/cpustats/
ThreadCpuUsage.h 45 // mMonotonicTs
108 struct timespec mMonotonicTs; // most recent monotonic time
109 bool mMonotonicKnown; // whether mMonotonicTs has been set
  /frameworks/base/libs/cpustats/
ThreadCpuUsage.cpp 40 rc = clock_gettime(CLOCK_MONOTONIC, &mMonotonicTs);
117 // mMonotonicTs is updated only at first enable and resetStatistics
118 elapsed = (ts.tv_sec - mMonotonicTs.tv_sec) * 1000000000LL +
119 (ts.tv_nsec - mMonotonicTs.tv_nsec);
133 rc = clock_gettime(CLOCK_MONOTONIC, &mMonotonicTs);

Completed in 70 milliseconds