Home
last modified time | relevance | path

Searched refs:systemTimeUs (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DKernelUidCpuTimeReader.java55 void onUidCpuTime(int uid, long userTimeUs, long systemTimeUs, long powerMaUs); in onUidCpuTime() argument
79 final long systemTimeUs = Long.parseLong(splitter.next(), 10); in readDelta() local
89 long systemTimeDeltaUs = systemTimeUs; in readDelta()
114 TimeUtils.formatDuration(systemTimeUs / 1000, sb); in readDelta()
136 mLastSystemTimeUs.put(uid, systemTimeUs); in readDelta()
DBatteryStatsImpl.java8034 public void onUidCpuTime(int uid, long userTimeUs, long systemTimeUs, in updateCpuTimeLocked()
8040 mTempTotalCpuSystemTimeUs += systemTimeUs; in updateCpuTimeLocked()
8048 TimeUtils.formatDuration(systemTimeUs / 1000, sb); in updateCpuTimeLocked()
8057 systemTimeUs = (systemTimeUs * wakelockWeight) / 100; in updateCpuTimeLocked()
8064 TimeUtils.formatDuration(systemTimeUs / 1000, sb); in updateCpuTimeLocked()
8070 u.mSystemCpuTime.addCountLocked(systemTimeUs); in updateCpuTimeLocked()
8102 int systemTimeUs = (int) (mTempTotalCpuSystemTimeUs / numWakelocks); in updateCpuTimeLocked() local
8110 TimeUtils.formatDuration(systemTimeUs / 1000, sb); in updateCpuTimeLocked()
8115 timer.mUid.mSystemCpuTime.addCountLocked(systemTimeUs); in updateCpuTimeLocked()
8118 proc.addCpuTimeLocked(userTimeUs / 1000, systemTimeUs / 1000); in updateCpuTimeLocked()
[all …]
/frameworks/av/media/libstagefright/
DAwesomePlayer.cpp1905 int64_t systemTimeUs = mSystemTimeSource.getRealTimeUs(); in onVideoEvent() local
1912 mTimeSourceDeltaUs = estimateRealTimeUs(ts, systemTimeUs) - timeUs; in onVideoEvent()
1926 int64_t nowUs = estimateRealTimeUs(ts, systemTimeUs) - mTimeSourceDeltaUs; in onVideoEvent()
1941 int64_t nowUs = estimateRealTimeUs(ts, systemTimeUs) - mTimeSourceDeltaUs; in onVideoEvent()
2064 systemTimeUs = mSystemTimeSource.getRealTimeUs(); in onVideoEvent()
2065 int64_t delayUs = nextTimeUs - estimateRealTimeUs(ts, systemTimeUs) + mTimeSourceDeltaUs; in onVideoEvent()
2076 int64_t AwesomePlayer::estimateRealTimeUs(TimeSource *ts, int64_t systemTimeUs) { in estimateRealTimeUs() argument
2078 return systemTimeUs; in estimateRealTimeUs()
2080 return (int64_t)mClockEstimator->estimate(systemTimeUs, ts->getRealTimeUs()); in estimateRealTimeUs()
/frameworks/av/media/libstagefright/include/
DAwesomePlayer.h305 int64_t estimateRealTimeUs(TimeSource *ts, int64_t systemTimeUs);