group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
ClientPerfFrame Struct Reference

One rendered client frame worth of timing and workload counters. More...

#include <ClientPerfRecorder.hpp>

Public Attributes

std::uint64_t frameNumber = 0
double timestampMs = 0.0
float wallFrameMs = 0.0f
float cpuFrameMs = 0.0f
float preambleMs = 0.0f
float inputMs = 0.0f
float networkStatsMs = 0.0f
float physicsMs = 0.0f
float networkPollMs = 0.0f
float snapshotApplyMs = 0.0f
float reconciliationMs = 0.0f
float refreshPlayersMs = 0.0f
float refreshProjectilesMs = 0.0f
float refreshRespawnsMs = 0.0f
float refreshDroppedWeaponsMs = 0.0f
float refreshPowerupsMs = 0.0f
float cameraResolveMs = 0.0f
float cameraMs = 0.0f
float localVfxMs = 0.0f
float dispatchMs = 0.0f
float particlesMs = 0.0f
float audioMs = 0.0f
float interpolationMs = 0.0f
float animationMs = 0.0f
float entityCmdsMs = 0.0f
float viewmodelMs = 0.0f
float recorderFpsMs = 0.0f
float imguiMs = 0.0f
float hudMs = 0.0f
float pauseMenuMs = 0.0f
float imguiRenderMs = 0.0f
float drawFrameMs = 0.0f
float drawAcquireMs = 0.0f
float drawRecordMs = 0.0f
float drawSubmitMs = 0.0f
float frameLimiterMs = 0.0f
std::uint32_t physicsTicks = 0
std::uint32_t tickCount = 0
std::uint32_t snapshotApplyCount = 0
std::uint32_t snapshotApplied = 0
std::uint32_t reconcileRequestedTicks = 0
std::uint32_t reconcileReplayedTicks = 0
std::uint32_t reconcileMissingTicks = 0
std::uint32_t reconcileSkippedExact = 0
std::uint32_t reconcileReplayForced = 0
std::uint32_t reconcileMissingHistory = 0
std::uint32_t clientPredictTick = 0
std::uint32_t serverAckedClientTick = 0
float reconcileErrorPosition = 0.0f
float reconcileErrorVelocity = 0.0f
float accumulatorMs = 0.0f
float measuredPhysicsHz = 0.0f
float fpsCurrent = 0.0f
float fps1pLow = 0.0f
float fps5pLow = 0.0f
std::uint32_t playerEntities = 0
std::uint32_t localPlayers = 0
std::uint32_t renderableEntities = 0
std::uint32_t projectileEntities = 0
std::uint32_t fireFields = 0
std::uint32_t animatedCandidates = 0
std::uint32_t animatedSampled = 0
std::uint32_t animatedDrawn = 0
std::uint32_t skinnedInstances = 0
std::uint32_t boneMatrices = 0
std::uint32_t entityRenderCmds = 0
std::uint32_t pointLights = 0
std::uint32_t beamPointLights = 0
std::uint32_t impactParticles = 0
std::uint32_t tracerParticles = 0
std::uint32_t ribbonVertices = 0
std::uint32_t hitscanBeams = 0
std::uint32_t arcVertices = 0
std::uint32_t smokeParticles = 0
std::uint32_t decals = 0
std::uint32_t audioSourcesActive = 0
std::uint32_t voiceSourcesActive = 0
std::uint64_t audioEventsPosted = 0
std::uint64_t audioCommandsGenerated = 0
std::uint64_t audioSourcesStarted = 0
std::uint64_t audioDroppedByCooldown = 0
std::uint64_t audioDroppedByLimit = 0
std::uint64_t audioStolenSources = 0
float rttMs = 0.0f
float avgRttMs = 0.0f
float recvKBps = 0.0f
float sendKBps = 0.0f
float registryUpdateKB = 0.0f
std::uint32_t swapchainWidth = 0
std::uint32_t swapchainHeight = 0
std::uint32_t rendererWorldInstances = 0
std::uint32_t rendererEntityCmds = 0
std::uint32_t rendererEntityDraws = 0
std::uint32_t rendererPointLights = 0
std::uint32_t rendererSkinnedInstances = 0
std::uint32_t rendererWeaponDrawn = 0
std::uint32_t rendererModelDraws = 0
std::uint32_t rendererMeshDraws = 0
std::uint32_t rendererIndexedDraws = 0
std::uint32_t rendererTriangles = 0
std::uint32_t imguiDrawLists = 0
std::uint32_t imguiVertices = 0
std::uint32_t imguiIndices = 0
std::uint32_t perfMovementCalls = 0
std::uint32_t perfMovementPlayers = 0
std::uint32_t perfCollisionCalls = 0
std::uint32_t perfCollisionPlayers = 0
std::uint32_t perfKccCalls = 0
std::uint32_t perfKccBumpHits = 0
std::uint32_t perfKccCaIterations = 0
std::uint32_t perfKccSweepHits = 0
std::uint32_t perfWallDetectCalls = 0
std::uint32_t perfWallMeshProbes = 0
std::uint32_t perfWallMeshProbeMeshes = 0
std::uint32_t perfWallSphereFallbacks = 0
std::uint32_t perfWallAttachmentCalls = 0
std::uint32_t perfWallAttachmentMeshes = 0
std::uint32_t perfWallDetectSkippedByGate = 0
std::uint32_t perfWallAttachmentPrevTriangleHits = 0
std::uint32_t perfWallAttachmentNeighborHits = 0
std::uint32_t perfWallAttachmentBroadphaseFallbacks = 0
std::uint32_t perfStaticBroadphaseQueries = 0
std::uint32_t perfStaticBroadphaseMeshes = 0
std::uint32_t perfSweepAabbAllCalls = 0
std::uint32_t perfSweepCapsuleAllCalls = 0
std::uint32_t perfSweepCapsuleTriMeshCalls = 0
std::uint32_t perfSweepCapsuleTriMeshNodes = 0
std::uint32_t perfSweepCapsuleTriMeshTris = 0
std::uint32_t perfDeepestCapsuleCalls = 0
std::uint32_t perfDeepestCapsuleTriMeshCalls = 0
std::uint32_t perfDeepestCapsuleTriMeshNodes = 0
std::uint32_t perfDeepestCapsuleTriMeshTris = 0
std::uint32_t perfClosestPointMeshCalls = 0
std::uint32_t perfClosestPointMeshNodes = 0
std::uint32_t perfClosestPointMeshTris = 0
std::uint32_t perfClosestPointTriangleCalls = 0
std::uint32_t perfClosestPointWallProbeCalls = 0
std::uint32_t perfClosestPointWallProbeNodes = 0
std::uint32_t perfClosestPointWallProbeTris = 0
std::uint32_t perfClosestPointWallAttachmentCalls = 0
std::uint32_t perfClosestPointWallAttachmentNodes = 0
std::uint32_t perfClosestPointWallAttachmentTris = 0

Detailed Description

One rendered client frame worth of timing and workload counters.

All timing fields are milliseconds. wallFrameMs is the elapsed time since the previous iterate() call, while cpuFrameMs is the measured CPU time spent inside the current iterate() call before the optional software limiter.

Member Data Documentation

◆ accumulatorMs

float ClientPerfFrame::accumulatorMs = 0.0f

◆ animatedCandidates

std::uint32_t ClientPerfFrame::animatedCandidates = 0

◆ animatedDrawn

std::uint32_t ClientPerfFrame::animatedDrawn = 0

◆ animatedSampled

std::uint32_t ClientPerfFrame::animatedSampled = 0

◆ animationMs

float ClientPerfFrame::animationMs = 0.0f

◆ arcVertices

std::uint32_t ClientPerfFrame::arcVertices = 0

◆ audioCommandsGenerated

std::uint64_t ClientPerfFrame::audioCommandsGenerated = 0

◆ audioDroppedByCooldown

std::uint64_t ClientPerfFrame::audioDroppedByCooldown = 0

◆ audioDroppedByLimit

std::uint64_t ClientPerfFrame::audioDroppedByLimit = 0

◆ audioEventsPosted

std::uint64_t ClientPerfFrame::audioEventsPosted = 0

◆ audioMs

float ClientPerfFrame::audioMs = 0.0f

◆ audioSourcesActive

std::uint32_t ClientPerfFrame::audioSourcesActive = 0

◆ audioSourcesStarted

std::uint64_t ClientPerfFrame::audioSourcesStarted = 0

◆ audioStolenSources

std::uint64_t ClientPerfFrame::audioStolenSources = 0

◆ avgRttMs

float ClientPerfFrame::avgRttMs = 0.0f

◆ beamPointLights

std::uint32_t ClientPerfFrame::beamPointLights = 0

◆ boneMatrices

std::uint32_t ClientPerfFrame::boneMatrices = 0

◆ cameraMs

float ClientPerfFrame::cameraMs = 0.0f

◆ cameraResolveMs

float ClientPerfFrame::cameraResolveMs = 0.0f

◆ clientPredictTick

std::uint32_t ClientPerfFrame::clientPredictTick = 0

◆ cpuFrameMs

float ClientPerfFrame::cpuFrameMs = 0.0f

◆ decals

std::uint32_t ClientPerfFrame::decals = 0

◆ dispatchMs

float ClientPerfFrame::dispatchMs = 0.0f

◆ drawAcquireMs

float ClientPerfFrame::drawAcquireMs = 0.0f

◆ drawFrameMs

float ClientPerfFrame::drawFrameMs = 0.0f

◆ drawRecordMs

float ClientPerfFrame::drawRecordMs = 0.0f

◆ drawSubmitMs

float ClientPerfFrame::drawSubmitMs = 0.0f

◆ entityCmdsMs

float ClientPerfFrame::entityCmdsMs = 0.0f

◆ entityRenderCmds

std::uint32_t ClientPerfFrame::entityRenderCmds = 0

◆ fireFields

std::uint32_t ClientPerfFrame::fireFields = 0

◆ fps1pLow

float ClientPerfFrame::fps1pLow = 0.0f

◆ fps5pLow

float ClientPerfFrame::fps5pLow = 0.0f

◆ fpsCurrent

float ClientPerfFrame::fpsCurrent = 0.0f

◆ frameLimiterMs

float ClientPerfFrame::frameLimiterMs = 0.0f

◆ frameNumber

std::uint64_t ClientPerfFrame::frameNumber = 0

◆ hitscanBeams

std::uint32_t ClientPerfFrame::hitscanBeams = 0

◆ hudMs

float ClientPerfFrame::hudMs = 0.0f

◆ imguiDrawLists

std::uint32_t ClientPerfFrame::imguiDrawLists = 0

◆ imguiIndices

std::uint32_t ClientPerfFrame::imguiIndices = 0

◆ imguiMs

float ClientPerfFrame::imguiMs = 0.0f

◆ imguiRenderMs

float ClientPerfFrame::imguiRenderMs = 0.0f

◆ imguiVertices

std::uint32_t ClientPerfFrame::imguiVertices = 0

◆ impactParticles

std::uint32_t ClientPerfFrame::impactParticles = 0

◆ inputMs

float ClientPerfFrame::inputMs = 0.0f

◆ interpolationMs

float ClientPerfFrame::interpolationMs = 0.0f

◆ localPlayers

std::uint32_t ClientPerfFrame::localPlayers = 0

◆ localVfxMs

float ClientPerfFrame::localVfxMs = 0.0f

◆ measuredPhysicsHz

float ClientPerfFrame::measuredPhysicsHz = 0.0f

◆ networkPollMs

float ClientPerfFrame::networkPollMs = 0.0f

◆ networkStatsMs

float ClientPerfFrame::networkStatsMs = 0.0f

◆ particlesMs

float ClientPerfFrame::particlesMs = 0.0f

◆ pauseMenuMs

float ClientPerfFrame::pauseMenuMs = 0.0f

◆ perfClosestPointMeshCalls

std::uint32_t ClientPerfFrame::perfClosestPointMeshCalls = 0

◆ perfClosestPointMeshNodes

std::uint32_t ClientPerfFrame::perfClosestPointMeshNodes = 0

◆ perfClosestPointMeshTris

std::uint32_t ClientPerfFrame::perfClosestPointMeshTris = 0

◆ perfClosestPointTriangleCalls

std::uint32_t ClientPerfFrame::perfClosestPointTriangleCalls = 0

◆ perfClosestPointWallAttachmentCalls

std::uint32_t ClientPerfFrame::perfClosestPointWallAttachmentCalls = 0

◆ perfClosestPointWallAttachmentNodes

std::uint32_t ClientPerfFrame::perfClosestPointWallAttachmentNodes = 0

◆ perfClosestPointWallAttachmentTris

std::uint32_t ClientPerfFrame::perfClosestPointWallAttachmentTris = 0

◆ perfClosestPointWallProbeCalls

std::uint32_t ClientPerfFrame::perfClosestPointWallProbeCalls = 0

◆ perfClosestPointWallProbeNodes

std::uint32_t ClientPerfFrame::perfClosestPointWallProbeNodes = 0

◆ perfClosestPointWallProbeTris

std::uint32_t ClientPerfFrame::perfClosestPointWallProbeTris = 0

◆ perfCollisionCalls

std::uint32_t ClientPerfFrame::perfCollisionCalls = 0

◆ perfCollisionPlayers

std::uint32_t ClientPerfFrame::perfCollisionPlayers = 0

◆ perfDeepestCapsuleCalls

std::uint32_t ClientPerfFrame::perfDeepestCapsuleCalls = 0

◆ perfDeepestCapsuleTriMeshCalls

std::uint32_t ClientPerfFrame::perfDeepestCapsuleTriMeshCalls = 0

◆ perfDeepestCapsuleTriMeshNodes

std::uint32_t ClientPerfFrame::perfDeepestCapsuleTriMeshNodes = 0

◆ perfDeepestCapsuleTriMeshTris

std::uint32_t ClientPerfFrame::perfDeepestCapsuleTriMeshTris = 0

◆ perfKccBumpHits

std::uint32_t ClientPerfFrame::perfKccBumpHits = 0

◆ perfKccCaIterations

std::uint32_t ClientPerfFrame::perfKccCaIterations = 0

◆ perfKccCalls

std::uint32_t ClientPerfFrame::perfKccCalls = 0

◆ perfKccSweepHits

std::uint32_t ClientPerfFrame::perfKccSweepHits = 0

◆ perfMovementCalls

std::uint32_t ClientPerfFrame::perfMovementCalls = 0

◆ perfMovementPlayers

std::uint32_t ClientPerfFrame::perfMovementPlayers = 0

◆ perfStaticBroadphaseMeshes

std::uint32_t ClientPerfFrame::perfStaticBroadphaseMeshes = 0

◆ perfStaticBroadphaseQueries

std::uint32_t ClientPerfFrame::perfStaticBroadphaseQueries = 0

◆ perfSweepAabbAllCalls

std::uint32_t ClientPerfFrame::perfSweepAabbAllCalls = 0

◆ perfSweepCapsuleAllCalls

std::uint32_t ClientPerfFrame::perfSweepCapsuleAllCalls = 0

◆ perfSweepCapsuleTriMeshCalls

std::uint32_t ClientPerfFrame::perfSweepCapsuleTriMeshCalls = 0

◆ perfSweepCapsuleTriMeshNodes

std::uint32_t ClientPerfFrame::perfSweepCapsuleTriMeshNodes = 0

◆ perfSweepCapsuleTriMeshTris

std::uint32_t ClientPerfFrame::perfSweepCapsuleTriMeshTris = 0

◆ perfWallAttachmentBroadphaseFallbacks

std::uint32_t ClientPerfFrame::perfWallAttachmentBroadphaseFallbacks = 0

◆ perfWallAttachmentCalls

std::uint32_t ClientPerfFrame::perfWallAttachmentCalls = 0

◆ perfWallAttachmentMeshes

std::uint32_t ClientPerfFrame::perfWallAttachmentMeshes = 0

◆ perfWallAttachmentNeighborHits

std::uint32_t ClientPerfFrame::perfWallAttachmentNeighborHits = 0

◆ perfWallAttachmentPrevTriangleHits

std::uint32_t ClientPerfFrame::perfWallAttachmentPrevTriangleHits = 0

◆ perfWallDetectCalls

std::uint32_t ClientPerfFrame::perfWallDetectCalls = 0

◆ perfWallDetectSkippedByGate

std::uint32_t ClientPerfFrame::perfWallDetectSkippedByGate = 0

◆ perfWallMeshProbeMeshes

std::uint32_t ClientPerfFrame::perfWallMeshProbeMeshes = 0

◆ perfWallMeshProbes

std::uint32_t ClientPerfFrame::perfWallMeshProbes = 0

◆ perfWallSphereFallbacks

std::uint32_t ClientPerfFrame::perfWallSphereFallbacks = 0

◆ physicsMs

float ClientPerfFrame::physicsMs = 0.0f

◆ physicsTicks

std::uint32_t ClientPerfFrame::physicsTicks = 0

◆ playerEntities

std::uint32_t ClientPerfFrame::playerEntities = 0

◆ pointLights

std::uint32_t ClientPerfFrame::pointLights = 0

◆ preambleMs

float ClientPerfFrame::preambleMs = 0.0f

◆ projectileEntities

std::uint32_t ClientPerfFrame::projectileEntities = 0

◆ reconcileErrorPosition

float ClientPerfFrame::reconcileErrorPosition = 0.0f

◆ reconcileErrorVelocity

float ClientPerfFrame::reconcileErrorVelocity = 0.0f

◆ reconcileMissingHistory

std::uint32_t ClientPerfFrame::reconcileMissingHistory = 0

◆ reconcileMissingTicks

std::uint32_t ClientPerfFrame::reconcileMissingTicks = 0

◆ reconcileReplayedTicks

std::uint32_t ClientPerfFrame::reconcileReplayedTicks = 0

◆ reconcileReplayForced

std::uint32_t ClientPerfFrame::reconcileReplayForced = 0

◆ reconcileRequestedTicks

std::uint32_t ClientPerfFrame::reconcileRequestedTicks = 0

◆ reconcileSkippedExact

std::uint32_t ClientPerfFrame::reconcileSkippedExact = 0

◆ reconciliationMs

float ClientPerfFrame::reconciliationMs = 0.0f

◆ recorderFpsMs

float ClientPerfFrame::recorderFpsMs = 0.0f

◆ recvKBps

float ClientPerfFrame::recvKBps = 0.0f

◆ refreshDroppedWeaponsMs

float ClientPerfFrame::refreshDroppedWeaponsMs = 0.0f

◆ refreshPlayersMs

float ClientPerfFrame::refreshPlayersMs = 0.0f

◆ refreshPowerupsMs

float ClientPerfFrame::refreshPowerupsMs = 0.0f

◆ refreshProjectilesMs

float ClientPerfFrame::refreshProjectilesMs = 0.0f

◆ refreshRespawnsMs

float ClientPerfFrame::refreshRespawnsMs = 0.0f

◆ registryUpdateKB

float ClientPerfFrame::registryUpdateKB = 0.0f

◆ renderableEntities

std::uint32_t ClientPerfFrame::renderableEntities = 0

◆ rendererEntityCmds

std::uint32_t ClientPerfFrame::rendererEntityCmds = 0

◆ rendererEntityDraws

std::uint32_t ClientPerfFrame::rendererEntityDraws = 0

◆ rendererIndexedDraws

std::uint32_t ClientPerfFrame::rendererIndexedDraws = 0

◆ rendererMeshDraws

std::uint32_t ClientPerfFrame::rendererMeshDraws = 0

◆ rendererModelDraws

std::uint32_t ClientPerfFrame::rendererModelDraws = 0

◆ rendererPointLights

std::uint32_t ClientPerfFrame::rendererPointLights = 0

◆ rendererSkinnedInstances

std::uint32_t ClientPerfFrame::rendererSkinnedInstances = 0

◆ rendererTriangles

std::uint32_t ClientPerfFrame::rendererTriangles = 0

◆ rendererWeaponDrawn

std::uint32_t ClientPerfFrame::rendererWeaponDrawn = 0

◆ rendererWorldInstances

std::uint32_t ClientPerfFrame::rendererWorldInstances = 0

◆ ribbonVertices

std::uint32_t ClientPerfFrame::ribbonVertices = 0

◆ rttMs

float ClientPerfFrame::rttMs = 0.0f

◆ sendKBps

float ClientPerfFrame::sendKBps = 0.0f

◆ serverAckedClientTick

std::uint32_t ClientPerfFrame::serverAckedClientTick = 0

◆ skinnedInstances

std::uint32_t ClientPerfFrame::skinnedInstances = 0

◆ smokeParticles

std::uint32_t ClientPerfFrame::smokeParticles = 0

◆ snapshotApplied

std::uint32_t ClientPerfFrame::snapshotApplied = 0

◆ snapshotApplyCount

std::uint32_t ClientPerfFrame::snapshotApplyCount = 0

◆ snapshotApplyMs

float ClientPerfFrame::snapshotApplyMs = 0.0f

◆ swapchainHeight

std::uint32_t ClientPerfFrame::swapchainHeight = 0

◆ swapchainWidth

std::uint32_t ClientPerfFrame::swapchainWidth = 0

◆ tickCount

std::uint32_t ClientPerfFrame::tickCount = 0

◆ timestampMs

double ClientPerfFrame::timestampMs = 0.0

◆ tracerParticles

std::uint32_t ClientPerfFrame::tracerParticles = 0

◆ viewmodelMs

float ClientPerfFrame::viewmodelMs = 0.0f

◆ voiceSourcesActive

std::uint32_t ClientPerfFrame::voiceSourcesActive = 0

◆ wallFrameMs

float ClientPerfFrame::wallFrameMs = 0.0f

The documentation for this struct was generated from the following file: