Lines Matching refs:targetDurationNanos
72 int64_t targetDurationNanos = (int64_t)targetDuration.count(); in convertWorkDurationToBoostByPid() local
80 int64_t dt = ns_to_100us(targetDurationNanos); in convertWorkDurationToBoostByPid()
85 if (std::abs(actualDurationNanos) > targetDurationNanos * 20) { in convertWorkDurationToBoostByPid()
87 actualDurationNanos, targetDurationNanos); in convertWorkDurationToBoostByPid()
90 int64_t error = ns_to_100us(actualDurationNanos - targetDurationNanos); in convertWorkDurationToBoostByPid()
274 int64_t targetDurationNanos) { in updateTargetWorkDuration() argument
280 if (targetDurationNanos <= 0) { in updateTargetWorkDuration()
281 ALOGE("Error: targetDurationNanos(%" PRId64 ") should bigger than 0", targetDurationNanos); in updateTargetWorkDuration()
284 targetDurationNanos = in updateTargetWorkDuration()
285 targetDurationNanos * HintManagerT::GetInstance()->GetAdpfProfile()->mTargetTimeFactor; in updateTargetWorkDuration()
287 mDescriptor->targetNs = std::chrono::nanoseconds(targetDurationNanos); in updateTargetWorkDuration()
290 ATRACE_INT(mAppDescriptorTrace->trace_target.c_str(), targetDurationNanos); in updateTargetWorkDuration()