Ardour  8.7-15-gadf511264b
PBD::TimingStats Class Reference

#include <timing.h>

Inheritance diagram for PBD::TimingStats:
[legend]

Public Member Functions

 TimingStats ()
 
void update ()
 
void queue_reset ()
 
void reset ()
 
bool valid () const
 
bool get_stats (microseconds_t &min, microseconds_t &max, double &avg, double &dev) const
 
- Public Member Functions inherited from PBD::Timing
 Timing ()
 
bool valid () const
 
void start ()
 
void update ()
 
void update (microseconds_t interval)
 
void reset ()
 
microseconds_t get_interval ()
 
bool started () const
 
microseconds_t elapsed () const
 
microseconds_t elapsed_msecs () const
 
microseconds_t start_time () const
 
microseconds_t last_time () const
 

Private Member Functions

void calc ()
 

Private Attributes

microseconds_t _cnt
 
microseconds_t _min
 
microseconds_t _max
 
double _avg
 
double _vm
 
double _vs
 
int _queue_reset
 

Additional Inherited Members

- Protected Attributes inherited from PBD::Timing
microseconds_t m_start_val
 
microseconds_t m_last_val
 

Detailed Description

Definition at line 128 of file timing.h.

Constructor & Destructor Documentation

◆ TimingStats()

PBD::TimingStats::TimingStats ( )
inline

Definition at line 131 of file timing.h.

Member Function Documentation

◆ calc()

void PBD::TimingStats::calc ( )
inlineprivate

Definition at line 194 of file timing.h.

◆ get_stats()

bool PBD::TimingStats::get_stats ( microseconds_t min,
microseconds_t max,
double &  avg,
double &  dev 
) const
inline

Definition at line 178 of file timing.h.

◆ queue_reset()

void PBD::TimingStats::queue_reset ( )
inline

Definition at line 158 of file timing.h.

◆ reset()

void PBD::TimingStats::reset ( )
inline

Definition at line 162 of file timing.h.

◆ update()

void PBD::TimingStats::update ( )
inline

Definition at line 137 of file timing.h.

◆ valid()

bool PBD::TimingStats::valid ( ) const
inline

Definition at line 174 of file timing.h.

Member Data Documentation

◆ _avg

double PBD::TimingStats::_avg
private

Definition at line 221 of file timing.h.

◆ _cnt

microseconds_t PBD::TimingStats::_cnt
private

Definition at line 218 of file timing.h.

◆ _max

microseconds_t PBD::TimingStats::_max
private

Definition at line 220 of file timing.h.

◆ _min

microseconds_t PBD::TimingStats::_min
private

Definition at line 219 of file timing.h.

◆ _queue_reset

int PBD::TimingStats::_queue_reset
private

Definition at line 224 of file timing.h.

◆ _vm

double PBD::TimingStats::_vm
private

Definition at line 222 of file timing.h.

◆ _vs

double PBD::TimingStats::_vs
private

Definition at line 223 of file timing.h.


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