ProfilerGetMeasurementResults(String) Method

Gets the measurement results of the given category so far.


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


category  String
The category of the measurement results to obtain.

Return Value

The measurement results of the given category 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