Can you please give an example on how to do this?
string[] arr = new string[1];
arr[0] = "\\Processor(*)\\% processor time";
PerfCounterRealTimeProbe pcrtp = new PerfCounterRealTimeProbe(this, TimeSpan.FromSeconds(1), arr);
However, that causes a PDH_CSTATUS_NO_OBJECT exception.