ProfilerGetMeasurementResults Method

Gets the measurement results so far.


Namespace: KGySoft.Diagnostics
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.2.0
public static IEnumerable<IMeasureItem> GetMeasurementResults()

Return Value

The measurement results collected so far.


If AutoSaveResults is , the measurement results are automatically dumped in XML files on application exit, so accessing this property is required only when measurements are needed to be accessed programmatically.

Getting this property is an O(1) operation. The returned value is a lazy enumerator. If Measure(String, String) method is called during the enumeration an exception might be thrown.


The enumerator of the returned collection does not support the IEnumerator.Reset method.

See Also