Top Description Inners Fields Constructors Methods
org.lwjgl.openvr

public Class CompositorCumulativeStats

extends Struct<CompositorCumulativeStats>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Annotations
@NativeType:struct Compositor_CumulativeStats
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Cumulative stats for current application. These are not cleared until a new app connects, but they do stop accumulating once the associated app disconnects.

Layout


struct Compositor_CumulativeStats {
    uint32_t m_nPid;
    uint32_t m_nNumFramePresents;
    uint32_t m_nNumDroppedFrames;
    uint32_t m_nNumReprojectedFrames;
    uint32_t m_nNumFramePresentsOnStartup;
    uint32_t m_nNumDroppedFramesOnStartup;
    uint32_t m_nNumReprojectedFramesOnStartup;
    uint32_t m_nNumLoading;
    uint32_t m_nNumFramePresentsLoading;
    uint32_t m_nNumDroppedFramesLoading;
    uint32_t m_nNumReprojectedFramesLoading;
    uint32_t m_nNumTimedOut;
    uint32_t m_nNumFramePresentsTimedOut;
    uint32_t m_nNumDroppedFramesTimedOut;
    uint32_t m_nNumReprojectedFramesTimedOut;
    uint32_t m_nNumFrameSubmits;
    vrshared_double m_flSumCompositorCPUTimeMS;
    vrshared_double m_flSumCompositorGPUTimeMS;
    vrshared_double m_flSumTargetFrameTimes;
    vrshared_double m_flSumApplicationCPUTimeMS;
    vrshared_double m_flSumApplicationGPUTimeMS;
    uint32_t m_nNumFramesWithDepth;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
M_FLSUMAPPLICATIONCPUTIMEMS

The struct member offsets.

public static final int
M_FLSUMAPPLICATIONGPUTIMEMS

The struct member offsets.

public static final int
M_FLSUMCOMPOSITORCPUTIMEMS

The struct member offsets.

public static final int
M_FLSUMCOMPOSITORGPUTIMEMS

The struct member offsets.

public static final int
M_FLSUMTARGETFRAMETIMES

The struct member offsets.

public static final int
M_NNUMDROPPEDFRAMES

The struct member offsets.

public static final int
M_NNUMDROPPEDFRAMESLOADING

The struct member offsets.

public static final int
M_NNUMDROPPEDFRAMESONSTARTUP

The struct member offsets.

public static final int
M_NNUMDROPPEDFRAMESTIMEDOUT

The struct member offsets.

public static final int
M_NNUMFRAMEPRESENTS

The struct member offsets.

public static final int
M_NNUMFRAMEPRESENTSLOADING

The struct member offsets.

public static final int
M_NNUMFRAMEPRESENTSONSTARTUP

The struct member offsets.

public static final int
M_NNUMFRAMEPRESENTSTIMEDOUT

The struct member offsets.

public static final int
M_NNUMFRAMESUBMITS

The struct member offsets.

public static final int
M_NNUMFRAMESWITHDEPTH

The struct member offsets.

public static final int
M_NNUMLOADING

The struct member offsets.

public static final int
M_NNUMREPROJECTEDFRAMES

The struct member offsets.

public static final int
M_NNUMREPROJECTEDFRAMESLOADING

The struct member offsets.

public static final int
M_NNUMREPROJECTEDFRAMESONSTARTUP

The struct member offsets.

public static final int
M_NNUMREPROJECTEDFRAMESTIMEDOUT

The struct member offsets.

public static final int
M_NNUMTIMEDOUT

The struct member offsets.

public static final int
M_NPID

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
CompositorCumulativeStats(long address, ByteBuffer container)

public
CompositorCumulativeStats(ByteBuffer container)

Creates a CompositorCumulativeStats instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static CompositorCumulativeStats
calloc()

Returns a new CompositorCumulativeStats instance allocated with memCalloc.

public static CompositorCumulativeStats.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new CompositorCumulativeStats.Buffer instance allocated with memCalloc.

public static CompositorCumulativeStats
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new CompositorCumulativeStats instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static CompositorCumulativeStats.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new CompositorCumulativeStats.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static CompositorCumulativeStats
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static CompositorCumulativeStats
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static CompositorCumulativeStats.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static CompositorCumulativeStats.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected CompositorCumulativeStats
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static CompositorCumulativeStats
create()

Returns a new CompositorCumulativeStats instance allocated with BufferUtils.

public static CompositorCumulativeStats
create(long address)

Returns a new CompositorCumulativeStats instance for the specified memory address.

public static CompositorCumulativeStats.Buffer
create(int
the buffer capacity
capacity
)

Returns a new CompositorCumulativeStats.Buffer instance allocated with BufferUtils.

public static CompositorCumulativeStats.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a CompositorCumulativeStats.Buffer instance at the specified memory.

public static CompositorCumulativeStats
createSafe(long address)

Like create, but returns null if address is NULL.

public static CompositorCumulativeStats.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public double
m_flSumApplicationCPUTimeMS()

divide by m_nNumFrameSubmits

public double
m_flSumApplicationGPUTimeMS()

divide by m_nNumFrameSubmits

public double
m_flSumCompositorCPUTimeMS()

divide by m_nNumFrameSubmits

public double
m_flSumCompositorGPUTimeMS()

divide by m_nNumFrameSubmits

public double
m_flSumTargetFrameTimes()

divide by m_nNumFrameSubmits

public int
m_nNumDroppedFrames()

total number of times an old frame was re-scanned out (without reprojection)

public int

Returns:

the value of the m_nNumDroppedFramesLoading field.
m_nNumDroppedFramesLoading
()

public int

Returns:

the value of the m_nNumDroppedFramesOnStartup field.
m_nNumDroppedFramesOnStartup
()

public int

Returns:

the value of the m_nNumDroppedFramesTimedOut field.
m_nNumDroppedFramesTimedOut
()

public int
m_nNumFramePresents()

total number of times we called present (includes reprojected frames)

public int

Returns:

the value of the m_nNumFramePresentsLoading field.
m_nNumFramePresentsLoading
()

public int

Returns:

the value of the m_nNumFramePresentsOnStartup field.
m_nNumFramePresentsOnStartup
()

public int

Returns:

the value of the m_nNumFramePresentsTimedOut field.
m_nNumFramePresentsTimedOut
()

public int

Returns:

the value of the m_nNumFrameSubmits field.
m_nNumFrameSubmits
()

public int
m_nNumFramesWithDepth()

total frames submitted with depth by the current application

public int

Returns:

the value of the m_nNumLoading field.
m_nNumLoading
()

public int
m_nNumReprojectedFrames()

total number of times a frame was scanned out a second time (with reprojection)

public int

Returns:

the value of the m_nNumReprojectedFramesLoading field.
m_nNumReprojectedFramesLoading
()

public int

Returns:

the value of the m_nNumReprojectedFramesOnStartup field.
m_nNumReprojectedFramesOnStartup
()

public int

Returns:

the value of the m_nNumReprojectedFramesTimedOut field.
m_nNumReprojectedFramesTimedOut
()

public int

Returns:

the value of the m_nNumTimedOut field.
m_nNumTimedOut
()

public int
m_nPid()

Process id associated with these stats (may no longer be running).

public static CompositorCumulativeStats
malloc()

Returns a new CompositorCumulativeStats instance allocated with memAlloc.

public static CompositorCumulativeStats.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new CompositorCumulativeStats.Buffer instance allocated with memAlloc.

public static CompositorCumulativeStats
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new CompositorCumulativeStats instance allocated on the specified MemoryStack.

public static CompositorCumulativeStats.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new CompositorCumulativeStats.Buffer instance allocated on the specified MemoryStack.

public static CompositorCumulativeStats
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static CompositorCumulativeStats
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static CompositorCumulativeStats.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static CompositorCumulativeStats.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static double
public static double
public static double
public static double
public static double
nm_flSumTargetFrameTimes(long struct)

Unsafe version of m_flSumTargetFrameTimes.

public static int
nm_nNumDroppedFrames(long struct)

Unsafe version of m_nNumDroppedFrames.

public static int
public static int
public static int
public static int
nm_nNumFramePresents(long struct)

Unsafe version of m_nNumFramePresents.

public static int
public static int
public static int
public static int
nm_nNumFrameSubmits(long struct)

Unsafe version of m_nNumFrameSubmits.

public static int
nm_nNumFramesWithDepth(long struct)

Unsafe version of m_nNumFramesWithDepth.

public static int
nm_nNumLoading(long struct)

Unsafe version of m_nNumLoading.

public static int
nm_nNumReprojectedFrames(long struct)

Unsafe version of m_nNumReprojectedFrames.

public static int
public static int
public static int
public static int
nm_nNumTimedOut(long struct)

Unsafe version of m_nNumTimedOut.

public static int
nm_nPid(long struct)

Unsafe version of m_nPid.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate