Platform SDK: Performance Monitoring

Setting the Scale Factor of a Counter

Often a counter value must be scaled up or down by a certain factor for a calculation, or to be displayed. The PdhSetCounterScaleFactor function allows you to do this for all values returned by a particular counter. Counter values can be scaled by a power of ten from a factor of -7 to 7.