ProfilerGetMeasurementResult Method
Gets a measurement result as an
IMeasureItem instance, or
, if the
measurement result is not found with the given
category and
operation.
Namespace: KGySoft.DiagnosticsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
public static IMeasureItem? GetMeasurementResult(
string? category,
string operation
)
Public Shared Function GetMeasurementResult (
category As String,
operation As String
) As IMeasureItem
public:
static IMeasureItem^ GetMeasurementResult(
String^ category,
String^ operation
)
static member GetMeasurementResult :
category : string *
operation : string -> IMeasureItem
- category String
- The category name of the operation. If or empty, looks for an uncategorized operation.
- operation String
- Name of the operation.
IMeasureItemAn
IMeasureItem instance that contains the measurement results of the required
operation, or
, if the measurement result is not found with the given
category
and
operation.
Unless
Reset is called, there is no need to retrieve the measurement result of the same
category and again and again because the returned
IMeasureItem
instance reflects the changes of the measurement operation.