struct Compositor_FrameTiming {
uint32_t m_nSize;
uint32_t m_nFrameIndex;
uint32_t m_nNumFramePresents;
uint32_t m_nNumMisPresented;
uint32_t m_nNumDroppedFrames;
uint32_t m_nReprojectionFlags;
double m_flSystemTimeInSeconds;
float m_flPreSubmitGpuMs;
float m_flPostSubmitGpuMs;
float m_flTotalRenderGpuMs;
float m_flCompositorRenderGpuMs;
float m_flCompositorRenderCpuMs;
float m_flCompositorIdleCpuMs;
float m_flClientFrameIntervalMs;
float m_flPresentCallCpuMs;
float m_flWaitForPresentCpuMs;
float m_flSubmitFrameMs;
float m_flWaitGetPosesCalledMs;
float m_flNewPosesReadyMs;
float m_flNewFrameReadyMs;
float m_flCompositorUpdateStartMs;
float m_flCompositorUpdateEndMs;
float m_flCompositorRenderStartMs;
TrackedDevicePose_t m_HmdPose;
uint32_t m_nNumVSyncsReadyForUse;
uint32_t m_nNumVSyncsToFirstView;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CompositorFrameTiming.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | M_FLCLIENTFRAMEINTERVALMS
The struct member offsets. |
| public static final int | M_FLCOMPOSITORIDLECPUMS
The struct member offsets. |
| public static final int | M_FLCOMPOSITORRENDERCPUMS
The struct member offsets. |
| public static final int | M_FLCOMPOSITORRENDERGPUMS
The struct member offsets. |
| public static final int | M_FLCOMPOSITORRENDERSTARTMS
The struct member offsets. |
| public static final int | M_FLCOMPOSITORUPDATEENDMS
The struct member offsets. |
| public static final int | M_FLCOMPOSITORUPDATESTARTMS
The struct member offsets. |
| public static final int | M_FLNEWFRAMEREADYMS
The struct member offsets. |
| public static final int | M_FLNEWPOSESREADYMS
The struct member offsets. |
| public static final int | M_FLPOSTSUBMITGPUMS
The struct member offsets. |
| public static final int | M_FLPRESENTCALLCPUMS
The struct member offsets. |
| public static final int | M_FLPRESUBMITGPUMS
The struct member offsets. |
| public static final int | M_FLSUBMITFRAMEMS
The struct member offsets. |
| public static final int | M_FLSYSTEMTIMEINSECONDS
The struct member offsets. |
| public static final int | M_FLTOTALRENDERGPUMS
The struct member offsets. |
| public static final int | M_FLWAITFORPRESENTCPUMS
The struct member offsets. |
| public static final int | M_FLWAITGETPOSESCALLEDMS
The struct member offsets. |
| public static final int | M_HMDPOSE
The struct member offsets. |
| public static final int | M_NFRAMEINDEX
The struct member offsets. |
| public static final int | M_NNUMDROPPEDFRAMES
The struct member offsets. |
| public static final int | M_NNUMFRAMEPRESENTS
The struct member offsets. |
| public static final int | M_NNUMMISPRESENTED
The struct member offsets. |
| public static final int | M_NNUMVSYNCSREADYFORUSE
The struct member offsets. |
| public static final int | M_NNUMVSYNCSTOFIRSTVIEW
The struct member offsets. |
| public static final int | M_NREPROJECTIONFLAGS
The struct member offsets. |
| public static final int | M_NSIZE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | CompositorFrameTiming(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static CompositorFrameTiming | |
| public static CompositorFrameTiming. | calloc(int
the buffer capacity capacity)Returns a new |
| public static CompositorFrameTiming | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CompositorFrameTiming. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CompositorFrameTiming | |
| public static CompositorFrameTiming | |
| public static CompositorFrameTiming. | |
| public static CompositorFrameTiming. | |
| protected CompositorFrameTiming | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static CompositorFrameTiming | |
| public static CompositorFrameTiming | |
| public static CompositorFrameTiming. | create(int
the buffer capacity capacity)Returns a new |
| public static CompositorFrameTiming. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CompositorFrameTiming | |
| public static CompositorFrameTiming. | |
| public float | |
| public float | m_flCompositorIdleCpuMs()
time spent waiting for running start (application could have used this much more time) |
| public float | |
| public float | m_flCompositorRenderGpuMs()
time spend performing distortion correction, rendering chaperone, overlays, etc. |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | m_flPreSubmitGpuMs()
time spent rendering the scene (gpu work submitted between WaitGetPoses and second Submit) |
| public float | |
| public double | |
| public float | m_flTotalRenderGpuMs()
time between work submitted immediately after present (ideally vsync) until the end of compositor submitted work |
| public float | m_flWaitForPresentCpuMs()
time spent spin-waiting for frame index to change (not near-zero indicates wait object failure) |
| public float | |
| public TrackedDevicePose | |
| public int | |
| public int | |
| public int | |
| public int | m_nNumMisPresented()
number of times this frame was presented on a vsync other than it was originally predicted to |
| public int | |
| public int | |
| public int | |
| public int | |
| public static CompositorFrameTiming | |
| public static CompositorFrameTiming. | malloc(int
the buffer capacity capacity)Returns a new |
| public static CompositorFrameTiming | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CompositorFrameTiming. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CompositorFrameTiming | |
| public static CompositorFrameTiming | |
| public static CompositorFrameTiming. | |
| public static CompositorFrameTiming. | |
| public static float | |
| public static float | |
| public static float | |
| public static float | |
| public static float | |
| public static float | |
| public static float | |
| public static float | |
| public static float | |
| public static float | |
| public static float | |
| public static float | |
| public static float | |
| public static double | |
| public static float | |
| public static float | |
| public static float | |
| public static TrackedDevicePose | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public int |