Partager via


Performance Counter Key (Windows CE 5.0)

Send Feedback

The following table shows the elements of each piece of performance data.

Element Description
X One part of a data calculation.

Many Remote Performance Monitor calculations use two data parts; for example, the raw data and the performance frequency.

Y Second part of a data calculation, if the calculation has two parts.
Data Size Number of bytes of raw data.
Display Suffix Suffix that describes the formatted data units.

Possible suffixes include /Sec, %, Sec, or no suffix.

Time base If the time base is used in the calculation, displayed in units of seconds.

If not, the units of measurement are explicitly declared.

Calculation Formula that describes how to convert the raw data into formatted data.

The following symbols are used to describe the formula for a calculation.

Symbol Description
TB Time base.

If the calculation does not use a time base, the time base shows the units of raw data.

B Base value used for calculating performance data types that require a base value.
0,1,n Subscript notation used when calculating performance based on multiple samplings.

A 0 refers to the oldest sampling,

1 refers to a more recent sampling than 0., and

n refers to the latest sampling.

In the case of two data samplings, X1-X0 means to subtract the oldest data sampling value from the more recent data sampling.

The symbol, n, can be used alone to indicate the number of samplings.

For example, a raw count average is described as the sum of the values divided by the number of samplings, or (X0+X1+...+Xn)/n.

The following table shows performance data values.

Value Description
CounterData Raw performance data value.
100Ns Flag that shows that the result of a calculation is in 100-nanosecond units.
100NsTime Sampling time, in 100-nanosecond units.

This measurement is extracted from the PerfTime100nSec member of the PERF_DATA_BLOCK structure.

PerfTime Sampling time.

This value is taken from the PerfTime member of the PERF_DATA_BLOCK structure.

However, if the performance data object is of type PERF_OBJECT_TIMER, then the PerfTime member of PERF_OBJECT_TIMER is used.

PerfFreq Sampling frequency.

This value is used to convert the PerfTime value into seconds.

This value is taken from the PerfFreq member of the PERF_DATA_BLOCK structure.

However, if the performance data object is of type PERF_OBJECT_TIMER, then the PerfFreq member of PERF_OBJECT_TIMER is used.

The only performance data type that is of type PERF_OBJECT_TIMER is PERF_ELAPSED_TIME.

See Also

Calculations for Raw Counter Data

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.