System.Diagnostics.CounterSampleCalculator.ComputeCounterValue Method

Computes the calculated value of two raw counter samples.

Syntax

[System.MonoTODO("What's the algorithm?")]
public static float ComputeCounterValue (CounterSample oldSample, CounterSample newSample)

Parameters

oldSample
A System.Diagnostics.CounterSample that indicates a previous sample the system has taken.
newSample
A System.Diagnostics.CounterSample that indicates the most recent sample the system has taken.

Returns

A floating-point representation of the performance counter's calculated value.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0