Ardour  9.0-pre0-582-g084a23a80d
PBD::TimingData Class Reference

#include <timing.h>

Public Member Functions

 TimingData ()
 
void start_timing ()
 
void add_elapsed ()
 
void add_interval ()
 
void reset ()
 
std::string summary () const
 
bool get_min_max_avg_total (microseconds_t &min, microseconds_t &max, microseconds_t &avg, microseconds_t &total) const
 
void reserve (uint32_t reserve_size)
 
std::vector< microseconds_t >::size_type size () const
 

Private Attributes

Timing m_timing
 
uint32_t m_reserve_size
 
std::vector< microseconds_tm_elapsed_values
 

Detailed Description

Definition at line 252 of file timing.h.

Constructor & Destructor Documentation

◆ TimingData()

PBD::TimingData::TimingData ( )
inline

Definition at line 255 of file timing.h.

Member Function Documentation

◆ add_elapsed()

void PBD::TimingData::add_elapsed ( )
inline

Definition at line 262 of file timing.h.

◆ add_interval()

void PBD::TimingData::add_interval ( )
inline

Definition at line 269 of file timing.h.

◆ get_min_max_avg_total()

bool PBD::TimingData::get_min_max_avg_total ( microseconds_t min,
microseconds_t max,
microseconds_t avg,
microseconds_t total 
) const
inline

Definition at line 282 of file timing.h.

◆ reserve()

void PBD::TimingData::reserve ( uint32_t  reserve_size)
inline

Definition at line 288 of file timing.h.

◆ reset()

void PBD::TimingData::reset ( )
inline

Definition at line 274 of file timing.h.

◆ size()

std::vector<microseconds_t>::size_type PBD::TimingData::size ( ) const
inline

Definition at line 291 of file timing.h.

◆ start_timing()

void PBD::TimingData::start_timing ( )
inline

Definition at line 258 of file timing.h.

◆ summary()

std::string PBD::TimingData::summary ( ) const
inline

Definition at line 279 of file timing.h.

Member Data Documentation

◆ m_elapsed_values

std::vector<microseconds_t> PBD::TimingData::m_elapsed_values
private

Definition at line 300 of file timing.h.

◆ m_reserve_size

uint32_t PBD::TimingData::m_reserve_size
private

Definition at line 298 of file timing.h.

◆ m_timing

Timing PBD::TimingData::m_timing
private

Definition at line 296 of file timing.h.


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