This documentation is archived and is not being maintained.

CounterSample Members (Visual J# Syntax)

Visual Studio .NET 2003

This topic shows Visual J# syntax for the .NET Framework library. For more information, click the link to the corresponding .NET Framework topic.

Declaration

public class CounterSample
   extends System.ValueType

Public Constructors

public CounterSample(
   long rawValue,
   long baseValue,
   long counterFrequency,
   long systemFrequency,
   long timeStamp,
   long timeStamp100nSec,
   System.Diagnostics.PerformanceCounterType counterType
);
public CounterSample(
   long rawValue,
   long baseValue,
   long counterFrequency,
   long systemFrequency,
   long timeStamp,
   long timeStamp100nSec,
   System.Diagnostics.PerformanceCounterType counterType,
   long counterTimeStamp
);

Public Properties

public long get_BaseValue();
public long get_CounterFrequency();
public long get_CounterTimeStamp();
public System.Diagnostics.PerformanceCounterType get_CounterType();
public long get_RawValue();
public long get_SystemFrequency();
public long get_TimeStamp();
public long get_TimeStamp100nSec();

Public Methods

public static float Calculate(
   System.Diagnostics.CounterSample counterSample
);
public static float Calculate(
   System.Diagnostics.CounterSample counterSample,
   System.Diagnostics.CounterSample nextCounterSample
);

Public Fields

public static System.Diagnostics.CounterSample Empty;
Show: