CRM64Pro GDK v0.19.0
A free cross-platform game development kit built on top of SDL 3.0
Loading...
Searching...
No Matches
CRM64Pro::Timer::Stats

Detailed Description

Microbenchmark statistics. For ::BM_LATENCY, scalar values are milliseconds and variance is milliseconds squared. For ::BM_THROUGHPUT, scalar values use the work-unit label assigned by benchCreate() and variance uses that unit squared.

Public Member Functions

CRM64PRO_API Stats ()
 Construct statistics with every value and the run count initialized to zero.

Public Attributes

double dFastest
double dSlowest
double dRange
double dAverage
double dMedian
double dVariance
double dStddev
Uint64 iRuns

Member Data Documentation

◆ dFastest

double CRM64Pro::Timer::Stats::dFastest

Best sample value in benchmark units.

◆ dSlowest

double CRM64Pro::Timer::Stats::dSlowest

Worst sample value in benchmark units.

◆ dRange

double CRM64Pro::Timer::Stats::dRange

Sample range in benchmark units.

◆ dAverage

double CRM64Pro::Timer::Stats::dAverage

Sample average in benchmark units.

◆ dMedian

double CRM64Pro::Timer::Stats::dMedian

Sample median in benchmark units.

◆ dVariance

double CRM64Pro::Timer::Stats::dVariance

Sample variance in benchmark units squared.

◆ dStddev

double CRM64Pro::Timer::Stats::dStddev

Sample standard deviation in benchmark units.

◆ iRuns

Uint64 CRM64Pro::Timer::Stats::iRuns

Number of runs.