diff options
author | 2024-12-03 17:18:33 -0800 | |
---|---|---|
committer | 2024-12-04 12:07:46 -0800 | |
commit | fd2b786912b72f53f52a39880a4c1cad74ff2841 (patch) | |
tree | c8d0b8d062224a02a07307fcd941bd1ddd529052 /libs/gui/BLASTBufferQueue.cpp | |
parent | 8a19587f2832b1c852d2a8740e5a2b85a6a2fd68 (diff) |
Add CPU/GPU_LOAD_SPIKE hints for one-off expensive workloads
Currently there is ambiguity between single-frame expensive ops
(eg: shader compilation) and longer-duration expensive ops (eg:
SF client compositon). This load hint aims to resolve this by
explicitly annotating one-time expensive workloads so they can
be given unique boost and hysteresis expectations.
For example, a load_spike aware tracker might want to ignore
the timing that comes from a LOAD_SPIKE-marked frame, as it is
known to not be representative of the overall workload.
Flag: EXEMPT NDK
Test: atest PerformanceHintNativeTestCases
Test: atest PerformanceHintManagerTest
Bug: 367803904
Change-Id: I22458f0d8f0819499f3463aa36e8bb7eb7af15be
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions