carl  24.04
Computer ARithmetic Library
carl::statistics::Timer Class Reference

#include <Timing.h>

Public Member Functions

void finish (timing::time_point start)
 
void start_this ()
 
void finish ()
 
bool check_finish ()
 
auto count () const
 
auto overall_ms () const
 
void collect (std::map< std::string, std::string > &data, const std::string &key)
 

Static Public Member Functions

static timing::time_point start ()
 

Private Attributes

std::size_t m_count = 0
 
timing::duration m_overall = timing::zero()
 
timing::time_point m_current_start = timing::time_point::min()
 

Detailed Description

Definition at line 30 of file Timing.h.

Member Function Documentation

◆ check_finish()

bool carl::statistics::Timer::check_finish ( )
inline

Definition at line 50 of file Timing.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ collect()

void carl::statistics::Timer::collect ( std::map< std::string, std::string > &  data,
const std::string &  key 
)
inline

Definition at line 64 of file Timing.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ count()

auto carl::statistics::Timer::count ( ) const
inline

Definition at line 57 of file Timing.h.

Here is the caller graph for this function:

◆ finish() [1/2]

void carl::statistics::Timer::finish ( )
inline

Definition at line 46 of file Timing.h.

Here is the caller graph for this function:

◆ finish() [2/2]

void carl::statistics::Timer::finish ( timing::time_point  start)
inline

Definition at line 39 of file Timing.h.

Here is the call graph for this function:

◆ overall_ms()

auto carl::statistics::Timer::overall_ms ( ) const
inline

Definition at line 60 of file Timing.h.

Here is the caller graph for this function:

◆ start()

static timing::time_point carl::statistics::Timer::start ( )
inlinestatic

Definition at line 36 of file Timing.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ start_this()

void carl::statistics::Timer::start_this ( )
inline

Definition at line 43 of file Timing.h.

Here is the call graph for this function:

Field Documentation

◆ m_count

std::size_t carl::statistics::Timer::m_count = 0
private

Definition at line 31 of file Timing.h.

◆ m_current_start

timing::time_point carl::statistics::Timer::m_current_start = timing::time_point::min()
private

Definition at line 33 of file Timing.h.

◆ m_overall

timing::duration carl::statistics::Timer::m_overall = timing::zero()
private

Definition at line 32 of file Timing.h.


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