IsEnabled()
Reports whether the metrics system for the AsyncReadManager is currently recording data.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.IO.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
public static bool IsEnabled()
Returns
Type | Description |
|---|---|
| bool | True, if the metrics system of the AsyncReadManager is currently recording data; false, otherwise. |
Remarks
Start metrics collection with AsyncReadManagerMetrics.StartCollectingMetrics and end recording with AsyncReadManagerMetrics.StopCollectingMetrics. You can also enable metrics collection when your program first launches using the command-line argument "-enable-file-read-metrics". You can only collect metrics in development builds.