diff options
author | 2025-03-04 13:33:31 -0800 | |
---|---|---|
committer | 2025-03-04 13:56:21 -0800 | |
commit | 00930d15146950d3a24680ab02c6a206cdde3a20 (patch) | |
tree | 3af27d5bdde378ddebbff2ae9f25484087b8cc9a | |
parent | 22067462fc35fab2822bcd7adbbf7e72c55ff3a7 (diff) |
Fix FMQ to use correct total duration
Bug: 400564582
Test: atest PerformanceHintNativeTestCases
Flag: EXEMPT bugfix
Change-Id: I055f36496da4e88da04c21ef4f042dfd220af390
-rw-r--r-- | native/android/performance_hint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/android/performance_hint.cpp b/native/android/performance_hint.cpp index 1e6a7b7f2810..45b746d254e1 100644 --- a/native/android/performance_hint.cpp +++ b/native/android/performance_hint.cpp @@ -971,7 +971,7 @@ void FMQWrapper::writeBuffer<HalChannelMessageContents::workDuration>(hal::WorkD .timeStampNanos = (i == count - 1) ? now : message.timeStampNanos, .data = HalChannelMessageContents::make<HalChannelMessageContents::workDuration, hal::WorkDurationFixedV1>({ - .durationNanos = message.cpuDurationNanos, + .durationNanos = message.durationNanos, .workPeriodStartTimestampNanos = message.workPeriodStartTimestampNanos, .cpuDurationNanos = message.cpuDurationNanos, .gpuDurationNanos = message.gpuDurationNanos, |