Calculations for Raw Counter Data (Windows CE 5.0)
To obtain information from a counter, you might need to convert the raw data generated by the counter into data that is more easily interpreted.
Remote Performance Monitor supports the following PERF types as counters, including calculations that can be used to convert raw data:
Counter | Description |
---|---|
PERF_100NSEC_MULTI_TIMER | Performs timer sampling of multiple but similar items on a 100Nsec interval. |
PERF_100NSEC_MULTI_TIMER_INV | Calculates the inverse of the timer for multiple but similar items on a 100Nsec interval. |
PERF_100NSEC_TIMER | Performs timer sampling of a single object on a 100Nsec interval. |
PERF_100NSEC_TIMER_INV | Calculates the inverse of the timer for single objects on a 100Nsec interval. |
PERF_AVERAGE_BULK | Gives the bytes per operation when divided by the number of operations. |
PERF_AVERAGE_TIMER | Gives time per operation when divided by the number of operations. |
PERF_COUNTER_BULK_COUNT | Shows the byte transmission rates. |
PERF_COUNTER_COUNTER | Tracks the rate of counts. |
PERF_COUNTER_LARGE_RAWCOUNT | Gives instantaneous counter values for large values. |
PERF_COUNTER_LARGE_RAWCOUNT_HEX | Gives instantaneous counter values in hexadecimal values for large values. |
PERF_COUNTER_MULTI_TIMER | Performs timer sampling of multiple but similar items on a specified interval. |
PERF_COUNTER_MULTI_TIMER_INV | Calculates the inverse of the timer for multiple but similar items on a specified interval. |
PERF_COUNTER_QUEUELEN_TYPE | Calculates the inverse of the timer for multiple but similar items using (X1-X0)/(Y1-Y0). |
PERF_COUNTER_RAWCOUNT | Gives instantaneous counter values for specified values. |
PERF_COUNTER_RAWCOUNT_HEX | Gives instantaneous counter values in hexadecimal values for specified values. |
PERF_COUNTER_TIMER | Performs timer sampling of a single object on a specified interval. |
PERF_COUNTER_TIMER_INV | Calculates the inverse of the timer for single objects on a specified interval. |
PERF_ELAPSED_TIME | Subtracts the start time of the item being measured, from the snapshot time to yield the elapsed time. |
PERF_RAW_FRACTION | Calculates the instantaneous value, divided by the base data. |
PERF_SAMPLE_COUNTER | Provides a count that is either 1 or 0 for each sampling interrupt. |
PERF_SAMPLE_FRACTION | Calculates a percentage value of the number of samples with value 1, when each sampling interrupt is either 1 or 0. |
See Also
Send Feedback on this topic to the authors