org.opengroup.arm40.metric

Interface ArmMetricCounter64

public interface ArmMetricCounter64 extends ArmMetric

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.

Author: ARM Working Group of The Open Group

Method Summary
longget()
Gets the counter value.
intset(long value)
Sets the counter value.

Method Detail

get

public long get()
Gets the counter value.

Returns: the counter value.

set

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