Jim Flynn | 3e9bc19 | 2022-03-23 23:01:26 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2022 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include <cstdint> |
| 9 | |
| 10 | namespace arm |
| 11 | { |
| 12 | |
| 13 | namespace pipe |
| 14 | { |
| 15 | |
| 16 | struct CounterStatus |
| 17 | { |
| 18 | CounterStatus(uint16_t backendCounterId, |
| 19 | uint16_t globalCounterId, |
| 20 | bool enabled, |
| 21 | uint32_t samplingRateInMicroseconds) |
| 22 | : m_BackendCounterId(backendCounterId), |
| 23 | m_GlobalCounterId(globalCounterId), |
| 24 | m_Enabled(enabled), |
| 25 | m_SamplingRateInMicroseconds(samplingRateInMicroseconds) {} |
| 26 | uint16_t m_BackendCounterId; |
| 27 | uint16_t m_GlobalCounterId; |
| 28 | bool m_Enabled; |
| 29 | uint32_t m_SamplingRateInMicroseconds; |
| 30 | }; |
| 31 | |
| 32 | } // namespace pipe |
| 33 | |
| 34 | } // namespace arm |