power: ADPF: log clean up
Remove ALOGD logs. Bug: 230205812 Test: adb shell logcat -b all | grep libperf Change-Id: I4125afec526b76e3905e75c22fc2bfb555810fa8
This commit is contained in:
parent
b4fb26bc8a
commit
295d5f53ed
@ -458,13 +458,11 @@ void PowerHintSession::HintTimerHandler::updateHintTimer(
|
||||
if (actualDurations.size() >= 2) {
|
||||
const WorkDuration &last = actualDurations[actualDurations.size() - 2];
|
||||
mSession->mDescriptor->last_start = last.timeStampNanos - last.durationNanos;
|
||||
ALOGD("last_start initialized by previous.");
|
||||
}
|
||||
const WorkDuration ¤t = actualDurations.back();
|
||||
int64_t curr_start = current.timeStampNanos - current.durationNanos;
|
||||
if (!mSession->mDescriptor->last_start) {
|
||||
mSession->mDescriptor->last_start = curr_start;
|
||||
ALOGD("last_start initialized by current.");
|
||||
updateHintTimer(current.durationNanos);
|
||||
return;
|
||||
}
|
||||
|
@ -49,6 +49,7 @@ struct AppHintDesc {
|
||||
threadIds(std::move(threadIds)),
|
||||
duration(0LL),
|
||||
current_min(0),
|
||||
transitioanl_min(0),
|
||||
is_active(true),
|
||||
update_count(0),
|
||||
integral_error(0),
|
||||
|
Loading…
Reference in New Issue
Block a user