org.opengroup.arm40.metric

Interface ArmMetricCounter32

public interface ArmMetricCounter32 extends ArmMetric

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.

Author: ARM Working Group of The Open Group

Method Summary
intget()
Gets the counter value.
intset(int value)
Sets the counter value.

Method Detail

get

public int get()
Gets the counter value.

Returns: the counter value.

set

public int 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 ArmInterface).