Platform SDK: Performance Monitoring

CounterItem.GetStatistics

Retrieves the statistical values average, maximum, and minimum for a counter.

Public Sub GetStatistics(
  max as Double,
  min as Double,
  average as Double,
  status as Long
);

Parameters

max
[in] Specifies the maximum value of the counter over the display interval.
min
[in] Specifies the minimum value of the counter over the display interval.
average
[in] Specifies the average value of the counter over the display interval.
status
[out] Indicates the validity of the counter value or statistical data.

Return Values

None.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Smonctrl.odl.

See Also

System Monitor Automation Interface Overview, System Monitor Automation Interface Methods