When I execute the following program and look at the performance counter the results don\'t make sense to me. The average value is zero and the min/max values are ~0.4 when I w
The System.Diagnostics API contains a pretty subtle source of great confusion: System.Diagnostics 'ticks' are not the same as DateTime or TimeSpan 'ticks'!
If you use StopWatch.ElapsedTicks instead of StopWatch.Elapsed.Ticks, it should work.
The documentation contains more information about this.