OpenGroup::arm40::Provisional::metric::IArmMetricCounterFloat32 Interface Reference
[ARM 4.0 MetricsARM 4.0 Metric Counters]

ArmMetricCounterFloat32 implements a 32-bit floating-point counter. More...

Inheritance diagram for OpenGroup::arm40::Provisional::metric::IArmMetricCounterFloat32:
OpenGroup::arm40::Provisional::metric::IArmMetric OpenGroup::arm40::Provisional::transaction::IArmInterface

List of all members.

Public Member Functions

float get ()
 Gets the counter value.
int set (float value)
 Sets the counter value.

Detailed Description

ArmMetricCounterFloat32 is created with the newArmMetricCounterFloat32() method of ArmMetricFactory.

It is roughly equivalent to the ARM 2.0 metric type=3 (ARM_CntrDivr32). Instead of providing two integer values that can be divided to produce a floating-point value, which is what was done in the C bindings for ARM 2.0 and ARM 4.0, a floating-point value is provided directly.

Objects implementing this interface are created using IArmMetricFactory.newArmMetricCounterFloat32


Member Function Documentation

float OpenGroup::arm40::Provisional::metric::IArmMetricCounterFloat32::get (  ) 
Returns:
the counter value.
int OpenGroup::arm40::Provisional::metric::IArmMetricCounterFloat32::set ( float  value  ) 
Parameters:
value new counter value.
Returns:
0 on sucess; otherwise, a non-zero error code is returned (as specified in OpenGroup.arm40.Provisional.transaction.IArmInterface

The documentation for this interface was generated from the following file:
  • opengroup/arm40/provisional/metric/IArmMetricCounterFloat32.cs