NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CounterSampleCalculator.ComputeCounterValue (CounterSample)

Computes the calculated value given a raw counter sample.

[Visual Basic]
Overloads Public Shared Function ComputeCounterValue( _
   ByVal newSample As CounterSample _
) As Single
[C#]
public static float ComputeCounterValue(
   CounterSample newSample
);
[C++]
public: static float ComputeCounterValue(
   CounterSample newSample
);
[JScript]
public static function ComputeCounterValue(
   newSample : CounterSample
) : float;

Parameters

newSample
Curent CounterSample to use.

Return Value

Floating point representation of outcome

See Also

CounterSampleCalculator Class | CounterSampleCalculator Members | System.Diagnostics Namespace | CounterSampleCalculator.ComputeCounterValue Overload List