PerfCounter Class |
Namespace: KSPDev.DebugUtils
The PerfCounter type exposes the following members.
Name | Description | |
---|---|---|
PerfCounter | Initializes a new instance of the PerfCounter class |
Name | Description | |
---|---|---|
avgDurationPerCallMs | Average time spent per one reading. | |
maxDurationPerCallMs | Maximum time spent in one reading during the life of the counter. | |
minDurationPerCallMs | Minimum time spent in one reading during the life of the counter. | |
numSamples | Total number of readings captured. | |
totalDurationMs | Total elapsed milleseconds in all readings. |
Name | Description | |
---|---|---|
MeasureAction | Measures timing in a simple action that doesn't return result. | |
MeasureFunctionRetVal | Measures timing in a function that returns result. |