Home
last modified time | relevance | path

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

/hardware/google/pixel/power-libperfmgr/aidl/
DSessionRecords.cpp38 int32_t totalDurationUs = duration.durationNanos / 1000; in addReportedDurations() local
44 mSumOfDurationsUs -= mRecords[indexOfRecordToRemove].totalDurationUs; in addReportedDurations()
70 bool cycleMissed = totalDurationUs > (targetDurationNs / 1000) * kJankCheckTimeFactor; in addReportedDurations()
71 mRecords[mLatestRecordIndex] = CycleRecord{startIntervalUs, totalDurationUs, cycleMissed}; in addReportedDurations()
80 (mRecords[mRecordsIndQueue.back()].totalDurationUs <= totalDurationUs)) { in addReportedDurations()
85 mSumOfDurationsUs += totalDurationUs; in addReportedDurations()
94 return mRecords[mRecordsIndQueue.front()].totalDurationUs; in getMaxDuration()
DSessionRecords.h38 int32_t totalDurationUs{0};
/hardware/interfaces/audio/aidl/default/primary/
DStreamPrimary.cpp69 const auto totalDurationUs = in transfer() local
73 mFramesSinceStart * MICROS_PER_SECOND / mContext.getSampleRate() - totalDurationUs; in transfer()
/hardware/interfaces/audio/aidl/default/r_submix/
DStreamRemoteSubmix.cpp149 const auto totalDurationUs = (::android::uptimeNanos() - mStartTimeNs) / NANOS_PER_MICROSECOND; in transfer() local
151 mFramesSinceStart * MICROS_PER_SECOND / mContext.getSampleRate() - totalDurationUs; in transfer()