You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to incorporate windows performance counters into NBench benchmarking. When I try to use the PerformanceCounterMeasurement attribute with almost any perfomance counter I get the nbench exception "%Performance Counter% is not registered on this machine. Please Create it First." I have looking everywhere for example of performance counters being used or the source code for NBench.PerformanceCounter. [PerformanceCounterMeasurement("Processor", "% Processor Time")] This is the line i am using to include the measurement attribute. If there is a known solution or source code/api I could look at, that would be great!
The text was updated successfully, but these errors were encountered:
I am trying to incorporate windows performance counters into NBench benchmarking. When I try to use the PerformanceCounterMeasurement attribute with almost any perfomance counter I get the nbench exception "%Performance Counter% is not registered on this machine. Please Create it First." I have looking everywhere for example of performance counters being used or the source code for NBench.PerformanceCounter.
[PerformanceCounterMeasurement("Processor", "% Processor Time")]
This is the line i am using to include the measurement attribute. If there is a known solution or source code/api I could look at, that would be great!The text was updated successfully, but these errors were encountered: