arm4::ArmMetricCounter64 Class Reference
[ARM 4.0 Metric Counters]
Implements a 64-bit integer counter. More...
Inheritance diagram for arm4::ArmMetricCounter64:
Public Member Functions | |
| ArmMetricCounter64 (const ArmMetricCounter64Definition &definition) | |
| Constructs a new metric instance. | |
| int64_t | get () const |
| Gets the counter value. | |
| int32_t | set (int64_t value) |
| Sets the counter value. | |
Detailed Description
Implements a 64-bit integer counter.
It is the same as ARM 2.0 metric type=2 (ARM_Counter64).
Constructor & Destructor Documentation
| arm4::ArmMetricCounter64::ArmMetricCounter64 | ( | const ArmMetricCounter64Definition & | definition | ) | [inline] |
Constructs a new metric instance.
- Parameters:
-
definition the metadata describing this metric.
Member Function Documentation
| int64_t arm4::ArmMetricCounter64::get | ( | ) | const [inline] |
Gets the counter value.
- Returns:
- the counter value.
| int32_t arm4::ArmMetricCounter64::set | ( | int64_t | value | ) | [inline] |
Sets the counter value.
- Parameters:
-
value new counter value.
- Returns:
- 0 on sucess; otherwise, a non-zero error code is returned (as specified in ArmInterface).
The documentation for this class was generated from the following file:
- Arm4/ArmMetricCounter64
