System.Diagnostics.CounterSample.Calculate Method

Calculates the performance data of the counter, using a single sample point. This method is generally used for uncalculated performance counter types.

Syntax

public static float Calculate (CounterSample counterSample)

Parameters

counterSample
The System.Diagnostics.CounterSample structure to use as a base point for calculating performance data.

Returns

The calculated performance 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