Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d51f9c3 authored by Rachel Lee's avatar Rachel Lee
Browse files

Add trace to resync.

Test: atest from b/266128330#comment6
Test: Perfetto trace from aforementioned atest
Bug: 266128330
Change-Id: I62eb973b57f0dec5cde0cd1ffcefa6074556bea4
parent a2e66c94
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -409,6 +409,7 @@ void Scheduler::disableHardwareVsync(PhysicalDisplayId id, bool disallow) {
}

void Scheduler::resyncAllToHardwareVsync(bool allowToEnable) {
    ATRACE_CALL();
    std::scoped_lock lock(mDisplayLock);
    ftl::FakeGuard guard(kMainThreadContext);