Class Stats.AppMetrics
Provides additional application metrics. These metrics will not be tracked unless the user makes a AppMetrics.EnableAppMetrics(true) method call.
Note: AppMetrics are deprecated and currently return 0 on all Oculus runtimes. The suggested replacement is to use the profiling tools available via the Oculus Developer Hub: https://developer.oculus.com/documentation/unity/ts-odh-logs-metrics/Inherited Members
Namespace: Unity.XR.Oculus
Assembly: solution.dll
Syntax
public static class Stats.AppMetrics
Properties
| Name | Description |
|---|---|
| AppCPUElapsedTime | |
| AppQueueAheadTime | |
| CPUStartToGPUEnd | Reports the total time from beginning of the main thread until compositor frame submission. |
| CompositorCPUTime | Reports the time the compositor spent on the CPU last frame in seconds. |
| CompositorDroppedFrames | Reports the number of frames dropped by the compositor. |
| CompositorLatency | |
| GPUEndToVsync | Reports the total time from compositor frame submission until the frame sync point. |
Methods
| Name | Description |
|---|---|
| EnableAppMetrics(bool) |