Calculates the performance data of the counter, using two sample points. This method is generally used for calculated performance counter types, such as averages.
- counterSample
The System.Diagnostics.CounterSample structure to use as a base point for calculating performance data.
- nextCounterSample
The System.Diagnostics.CounterSample structure to use as an ending point for calculating performance data.
![]()
The calculated performance value.