QtCraft API C++ classes QML types Handbook

QcMeshScheduler::Stats Struct

struct QcMeshScheduler::Stats

How quickly block changes reach the screen (benchmark): time from a change until every section it made dirty has a new mesh, the largest number of sections and light jobs waiting, and the time the light thread spent. More...

Public Variables

qsizetype discardedJobs
quint64 latencySamples
double latencyTotalMs
double latencyWorstMs
quint64 lightJobs
double lightTotalMs
double lightWorstMs
quint64 meshJobs
double meshTotalMs
double meshWorstMs
qsizetype worstBacklog

Detailed Description

Member Variable Documentation

qsizetype Stats::discardedJobs

Mesh and light jobs dropped unstarted by clear().

quint64 Stats::latencySamples

Block changes whose sections all got their new mesh.

double Stats::latencyTotalMs

Sum of their latencies in milliseconds.

double Stats::latencyWorstMs

Largest latency in milliseconds.

quint64 Stats::lightJobs

Light jobs finished.

double Stats::lightTotalMs

Light thread time in milliseconds, in total.

double Stats::lightWorstMs

Light thread time of the longest job in milliseconds.

quint64 Stats::meshJobs

Mesh results that arrived, outdated ones included.

double Stats::meshTotalMs

Sum of the mesh workers' time in milliseconds.

double Stats::meshWorstMs

Longest mesh job in milliseconds.

qsizetype Stats::worstBacklog

Largest number of dirty sections, mesh jobs and light jobs waiting at once.