From c3f82f2ecdba794dc6e2f9f241b959b290f2cef9 Mon Sep 17 00:00:00 2001 From: jimmyshiu Date: Thu, 18 Jul 2024 20:16:00 +0530 Subject: [PATCH] sm6375-common: power-libperfmgr: ADPF: log clean up Remove ALOGD logs. Bug: 230205812 Test: adb shell logcat -b all | grep libperf Change-Id: I4125afec526b76e3905e75c22fc2bfb555810fa8 --- power-libperfmgr/PowerHintSession.cpp | 2 -- power-libperfmgr/PowerHintSession.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/power-libperfmgr/PowerHintSession.cpp b/power-libperfmgr/PowerHintSession.cpp index b7685f6..deb5ebd 100644 --- a/power-libperfmgr/PowerHintSession.cpp +++ b/power-libperfmgr/PowerHintSession.cpp @@ -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; } diff --git a/power-libperfmgr/PowerHintSession.h b/power-libperfmgr/PowerHintSession.h index 847dc8d..bd5882c 100644 --- a/power-libperfmgr/PowerHintSession.h +++ b/power-libperfmgr/PowerHintSession.h @@ -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),