Collecting
Data
After you
have created a query and added counters to it, call the PdhCollectQueryData
Call PdhCollectQueryData
before entering the section of code that you are measuring, to provide a
starting value.
Call PdhCollectQueryData
again after exiting the section of code that you are measuring, to get the
ending value.