summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Matt Buckley <mattbuckley@google.com> 2024-09-11 20:07:15 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-09-11 20:07:15 +0000
commit41b696487b9c0cc3137a81fecf18c900f5733658 (patch)
treedcc3b91fd57be81d605003f7c36f1afa49430bbc
parentbf140bda42e42244b4686d00e62ca8c95792fc68 (diff)
parent3333335b8aba2b3df067f4747f28a68750392821 (diff)
Merge "Add ADPF FMQ implementation for PerformanceHintManager" into main
-rw-r--r--include/private/performance_hint_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/private/performance_hint_private.h b/include/private/performance_hint_private.h
index 8c356d0140..e5eee340ca 100644
--- a/include/private/performance_hint_private.h
+++ b/include/private/performance_hint_private.h
@@ -108,6 +108,10 @@ APerformanceHintSession* APerformanceHint_createSessionInternal(APerformanceHint
const int32_t* threadIds, size_t size,
int64_t initialTargetWorkDurationNanos, SessionTag tag);
+/**
+ * Forces FMQ to be enabled or disabled, for testing only.
+ */
+void APerformanceHint_setUseFMQForTesting(bool enabled);
__END_DECLS