Project
Loading...
Searching...
No Matches
o2::cad::bench::TimingStat Struct Reference

#include <RepresentationBench.h>

Public Attributes

long long callsPerPass = 0
 
int passes = 0
 
double medianNsPerCall = 0.
 
double minNsPerCall = 0.
 
double maxNsPerCall = 0.
 
double spread = 0.
 
uint64_t checksum = 0
 
double hitFraction = -1.
 

Detailed Description

The result of timing one kernel over several complete passes of the same sample set.

median is the reported number and min/max are the honest error bar. The minimum is singled out in the printouts as well, because on a machine with other tenants it is the closest thing to the kernel's own cost: noise can only ever make a pass slower.

Definition at line 89 of file RepresentationBench.h.

Member Data Documentation

◆ callsPerPass

long long o2::cad::bench::TimingStat::callsPerPass = 0

Definition at line 90 of file RepresentationBench.h.

◆ checksum

uint64_t o2::cad::bench::TimingStat::checksum = 0

accumulated from the results so the optimizer cannot elide the calls

Definition at line 98 of file RepresentationBench.h.

◆ hitFraction

double o2::cad::bench::TimingStat::hitFraction = -1.

Fraction of calls that returned a finite (< TGeoShape::Big()) distance. A distance kernel that never hits anything is fast for a reason that has nothing to do with its speed, so this travels with every ray timing. Meaningless (and left at -1) for point queries.

Definition at line 102 of file RepresentationBench.h.

◆ maxNsPerCall

double o2::cad::bench::TimingStat::maxNsPerCall = 0.

Definition at line 94 of file RepresentationBench.h.

◆ medianNsPerCall

double o2::cad::bench::TimingStat::medianNsPerCall = 0.

Definition at line 92 of file RepresentationBench.h.

◆ minNsPerCall

double o2::cad::bench::TimingStat::minNsPerCall = 0.

Definition at line 93 of file RepresentationBench.h.

◆ passes

int o2::cad::bench::TimingStat::passes = 0

Definition at line 91 of file RepresentationBench.h.

◆ spread

double o2::cad::bench::TimingStat::spread = 0.

(max - min) / median, as a fraction. A number that is quoted with every timing rather than hidden, because it is what says whether two representations that differ by 10 % differ.

Definition at line 97 of file RepresentationBench.h.


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