Version: 2022.1
LanguageEnglish
  • C#

AsyncReadManagerMetrics.GetSummaryOfMetrics

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static Unity.IO.LowLevel.Unsafe.AsyncReadManagerSummaryMetrics GetSummaryOfMetrics(AsyncReadManagerRequestMetric[] metrics);

Declaration

public static Unity.IO.LowLevel.Unsafe.AsyncReadManagerSummaryMetrics GetSummaryOfMetrics(List<AsyncReadManagerRequestMetric> metrics);

Parameters

metrics Array of previously collected AsyncReadManagerRequestMetrics.

Returns

AsyncReadManagerSummaryMetrics Calculated summary of the given metrics.

Description

Summarizes an array containing AsyncReadManagerRequestMetric records.

You can access the metrics collected for AsyncReadManager read operations by calling GetMetrics.


Declaration

public static Unity.IO.LowLevel.Unsafe.AsyncReadManagerSummaryMetrics GetSummaryOfMetrics(AsyncReadManagerRequestMetric[] metrics, Unity.IO.LowLevel.Unsafe.AsyncReadManagerMetricsFilters metricsFilters);

Declaration

public static Unity.IO.LowLevel.Unsafe.AsyncReadManagerSummaryMetrics GetSummaryOfMetrics(List<AsyncReadManagerRequestMetric> metrics, Unity.IO.LowLevel.Unsafe.AsyncReadManagerMetricsFilters metricsFilters);

Parameters

metrics List of previously collected AsyncReadManagerRequestMetrics.
metricsFilters Filters to apply to the data used in calculating the summary.

Returns

AsyncReadManagerSummaryMetrics Calculated summary of given metrics that match the filters.

Description

Summarizes AsyncReadManagerRequestMetric records that match the specified filter.

The summary returned is calculated from any data in the specified metrics list that matches the metricsFilters. See AsyncReadManagerMetricsFilters.ctor for information about filter creation. You can access the metrics collected for AsyncReadManager read operations by calling GetMetrics.