org.opengroup.arm40.metric.ArmMetricCounter64 Interface Reference
[ARM 4.0 Metrics, ARM 4.0 Metric Counters]
Implements a 64-bit integer counter. More...
Inheritance diagram for org.opengroup.arm40.metric.ArmMetricCounter64:
![](interfaceorg_1_1opengroup_1_1arm40_1_1metric_1_1ArmMetricCounter64.png)
Public Member Functions | |
long | get () |
Gets the counter value. | |
int | set (long 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
).
Objects implementing this interface are created using ArmMetricFactory#newArmMetricCounter64.
Member Function Documentation
long org.opengroup.arm40.metric.ArmMetricCounter64.get | ( | ) |
Gets the counter value.
- Returns:
- the counter value.
int org.opengroup.arm40.metric.ArmMetricCounter64.set | ( | long | value | ) |
Sets the counter value.
- Parameters:
-
value new counter value.
- Returns:
- 0 on sucess; otherwise, a non-zero error code is returned (as specified in org.opengroup.arm40.transaction.ArmInterface).
The documentation for this interface was generated from the following file:
- org/opengroup/arm40/metric/ArmMetricCounter64.java