Home
last modified time | relevance | path

Searched refs:targetNs (Results 1 – 3 of 3) sorted by relevance

/hardware/google/pixel/power-libperfmgr/aidl/
DPowerHintSession.cpp66 const nanoseconds &targetDuration = mDescriptor->targetNs; in convertWorkDurationToBoostByPid()
154 ATRACE_INT(mAppDescriptorTrace->trace_target.c_str(), mDescriptor->targetNs.count()); in PowerHintSession()
164 duration_cast<nanoseconds>(mDescriptor->targetNs * adpfConfig->mStaleTimeFactor / 2.0)); in PowerHintSession()
167 kUclampMax, std::chrono::steady_clock::now(), mDescriptor->targetNs); in PowerHintSession()
195 std::max(duration_cast<nanoseconds>(mDescriptor->targetNs * in updatePidControlVariable()
287 mDescriptor->targetNs = std::chrono::nanoseconds(targetDurationNanos); in updateTargetWorkDuration()
289 mDescriptor->targetNs); in updateTargetWorkDuration()
308 maxToAvgRatio = maxDurationUs.value() * 1.0 / (mDescriptor->targetNs.count() / 1000); in updateHeuristicBoost()
343 if (mDescriptor->targetNs.count() == 0LL) { in reportActualWorkDuration()
361 ATRACE_INT(mAppDescriptorTrace->trace_target.c_str(), mDescriptor->targetNs.count()); in reportActualWorkDuration()
[all …]
DAppHintDesc.h36 targetNs(pTargetNs), in AppHintDesc()
49 std::chrono::nanoseconds targetNs; member
DPowerSessionManager.cpp132 CpuVote(false, timeNow, sessionDescriptor->targetNs, kUclampMin, kUclampMax)); in addPowerSession()