Class CompositorCumulativeStats.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<CompositorCumulativeStats>, NativeResource, Pointer
Enclosing class:
CompositorCumulativeStats

public static class CompositorCumulativeStats.Buffer extends StructBuffer<CompositorCumulativeStats,CompositorCumulativeStats.Buffer> implements NativeResource
An array of CompositorCumulativeStats structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new CompositorCumulativeStats.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by CompositorCumulativeStats.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • m_nPid

      public int m_nPid()
      Returns:
      the value of the CompositorCumulativeStats.m_nPid() field.
    • m_nNumFramePresents

      public int m_nNumFramePresents()
      Returns:
      the value of the CompositorCumulativeStats.m_nNumFramePresents() field.
    • m_nNumDroppedFrames

      public int m_nNumDroppedFrames()
      Returns:
      the value of the CompositorCumulativeStats.m_nNumDroppedFrames() field.
    • m_nNumReprojectedFrames

      public int m_nNumReprojectedFrames()
      Returns:
      the value of the CompositorCumulativeStats.m_nNumReprojectedFrames() field.
    • m_nNumFramePresentsOnStartup

      public int m_nNumFramePresentsOnStartup()
      Returns:
      the value of the m_nNumFramePresentsOnStartup field.
    • m_nNumDroppedFramesOnStartup

      public int m_nNumDroppedFramesOnStartup()
      Returns:
      the value of the m_nNumDroppedFramesOnStartup field.
    • m_nNumReprojectedFramesOnStartup

      public int m_nNumReprojectedFramesOnStartup()
      Returns:
      the value of the m_nNumReprojectedFramesOnStartup field.
    • m_nNumLoading

      public int m_nNumLoading()
      Returns:
      the value of the m_nNumLoading field.
    • m_nNumFramePresentsLoading

      public int m_nNumFramePresentsLoading()
      Returns:
      the value of the m_nNumFramePresentsLoading field.
    • m_nNumDroppedFramesLoading

      public int m_nNumDroppedFramesLoading()
      Returns:
      the value of the m_nNumDroppedFramesLoading field.
    • m_nNumReprojectedFramesLoading

      public int m_nNumReprojectedFramesLoading()
      Returns:
      the value of the m_nNumReprojectedFramesLoading field.
    • m_nNumTimedOut

      public int m_nNumTimedOut()
      Returns:
      the value of the m_nNumTimedOut field.
    • m_nNumFramePresentsTimedOut

      public int m_nNumFramePresentsTimedOut()
      Returns:
      the value of the m_nNumFramePresentsTimedOut field.
    • m_nNumDroppedFramesTimedOut

      public int m_nNumDroppedFramesTimedOut()
      Returns:
      the value of the m_nNumDroppedFramesTimedOut field.
    • m_nNumReprojectedFramesTimedOut

      public int m_nNumReprojectedFramesTimedOut()
      Returns:
      the value of the m_nNumReprojectedFramesTimedOut field.
    • m_nNumFrameSubmits

      public int m_nNumFrameSubmits()
      Returns:
      the value of the m_nNumFrameSubmits field.
    • m_flSumCompositorCPUTimeMS

      public double m_flSumCompositorCPUTimeMS()
      Returns:
      the value of the CompositorCumulativeStats.m_flSumCompositorCPUTimeMS() field.
    • m_flSumCompositorGPUTimeMS

      public double m_flSumCompositorGPUTimeMS()
      Returns:
      the value of the CompositorCumulativeStats.m_flSumCompositorGPUTimeMS() field.
    • m_flSumTargetFrameTimes

      public double m_flSumTargetFrameTimes()
      Returns:
      the value of the CompositorCumulativeStats.m_flSumTargetFrameTimes() field.
    • m_flSumApplicationCPUTimeMS

      public double m_flSumApplicationCPUTimeMS()
      Returns:
      the value of the CompositorCumulativeStats.m_flSumApplicationCPUTimeMS() field.
    • m_flSumApplicationGPUTimeMS

      public double m_flSumApplicationGPUTimeMS()
      Returns:
      the value of the CompositorCumulativeStats.m_flSumApplicationGPUTimeMS() field.
    • m_nNumFramesWithDepth

      public int m_nNumFramesWithDepth()
      Returns:
      the value of the CompositorCumulativeStats.m_nNumFramesWithDepth() field.