Version: 2022.1
public static Unity.IO.LowLevel.Unsafe.AsyncReadManagerSummaryMetrics GetSummaryOfMetrics (AsyncReadManagerRequestMetric[] metrics);
public static Unity.IO.LowLevel.Unsafe.AsyncReadManagerSummaryMetrics GetSummaryOfMetrics (List<AsyncReadManagerRequestMetric> metrics);

参数

metrics Array of previously collected AsyncReadManagerRequestMetrics.

返回

AsyncReadManagerSummaryMetrics Calculated summary of the given metrics.

描述

Summarizes an array containing AsyncReadManagerRequestMetric records.

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


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

参数

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

返回

AsyncReadManagerSummaryMetrics Calculated summary of given metrics that match the filters.

描述

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.