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

Parameters

metricsArray 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.


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);

Parameters

metricsList 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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961