org.opengroup.arm40.metric.ArmMetricCounter32 Interface Reference
[ARM 4.0 Metrics, ARM 4.0 Metric Counters]
Implements a 32-bit integer counter. More...
Inheritance diagram for org.opengroup.arm40.metric.ArmMetricCounter32:
Public Member Functions | |
int | get () |
Gets the counter value. | |
int | set (int value) |
Sets the counter value. |
Detailed Description
Implements a 32-bit integer counter.
It is the same as ARM 2.0 metric type=1 (ARM_Counter32
).
Objects implementing this interface are created using ArmMetricFactory#newArmMetricCounter32.
Member Function Documentation
int org.opengroup.arm40.metric.ArmMetricCounter32.get | ( | ) |
Gets the counter value.
- Returns:
- the counter value.
int org.opengroup.arm40.metric.ArmMetricCounter32.set | ( | int | 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/ArmMetricCounter32.java