waLBerla 7.2
Loading...
Searching...
No Matches
walberla::timeloop::PerformanceMeter::Measurement Struct Reference

Detailed Description

This struct holds a measurement definition.

Public Member Functions

 Measurement (CountFunction cf, const std::string &n, real_t sc, uint_t countFreq)
 

Public Attributes

CountFunction countFunction
 
std::string name
 name of the measured performance number
 
real_t scaling
 scaling factor, usually power of ten, for (M)FLUPS
 
uint_t countingFreq
 every n'th timestep cells are counted, if 0 cells are counted only once
 
uint_t counts {0}
 how often was the number of cells counted until now
 
real_t avgCellsPerTimeStep {0}
 the average number of cells per timestep
 

Constructor & Destructor Documentation

◆ Measurement()

walberla::timeloop::PerformanceMeter::Measurement::Measurement ( CountFunction cf,
const std::string & n,
real_t sc,
uint_t countFreq )
inline

Member Data Documentation

◆ avgCellsPerTimeStep

real_t walberla::timeloop::PerformanceMeter::Measurement::avgCellsPerTimeStep {0}

the average number of cells per timestep

◆ countFunction

CountFunction walberla::timeloop::PerformanceMeter::Measurement::countFunction

◆ countingFreq

uint_t walberla::timeloop::PerformanceMeter::Measurement::countingFreq

every n'th timestep cells are counted, if 0 cells are counted only once

◆ counts

uint_t walberla::timeloop::PerformanceMeter::Measurement::counts {0}

how often was the number of cells counted until now

◆ name

std::string walberla::timeloop::PerformanceMeter::Measurement::name

name of the measured performance number

◆ scaling

real_t walberla::timeloop::PerformanceMeter::Measurement::scaling

scaling factor, usually power of ten, for (M)FLUPS


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