aboutsummaryrefslogtreecommitdiff
path: root/profiling/client/include/CounterValue.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'profiling/client/include/CounterValue.hpp')
-rw-r--r--profiling/client/include/CounterValue.hpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/profiling/client/include/CounterValue.hpp b/profiling/client/include/CounterValue.hpp
new file mode 100644
index 0000000000..79de33b9b9
--- /dev/null
+++ b/profiling/client/include/CounterValue.hpp
@@ -0,0 +1,24 @@
+//
+// Copyright © 2022 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#pragma once
+
+namespace arm
+{
+
+namespace pipe
+{
+
+struct CounterValue
+{
+ CounterValue(uint16_t id, uint32_t value) :
+ counterId(id), counterValue(value) {}
+ uint16_t counterId;
+ uint32_t counterValue;
+};
+
+} // namespace pipe
+
+} // namespace arm