BioDynaMo  v1.03.58-27764645
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
bdm::TimingAggregator Class Reference

#include <timing_aggregator.h>

Public Member Functions

 TimingAggregator ()=default
 
 ~TimingAggregator ()=default
 
void AddEntry (const std::string &key, int64_t value)
 
void AddDescription (const std::string &text)
 
int operator[] (std::string idx)
 

Private Member Functions

 BDM_CLASS_DEF_NV (TimingAggregator, 1)
 

Private Attributes

std::map< std::string, std::vector< int64_t > > timings_
 
std::vector< std::string > descriptions_
 

Friends

std::ostream & operator<< (std::ostream &os, const TimingAggregator &p)
 

Detailed Description

Definition at line 30 of file timing_aggregator.h.

Constructor & Destructor Documentation

◆ TimingAggregator()

bdm::TimingAggregator::TimingAggregator ( )
default

◆ ~TimingAggregator()

bdm::TimingAggregator::~TimingAggregator ( )
default

Member Function Documentation

◆ AddDescription()

void bdm::TimingAggregator::AddDescription ( const std::string &  text)
inline

Definition at line 45 of file timing_aggregator.h.

◆ AddEntry()

void bdm::TimingAggregator::AddEntry ( const std::string &  key,
int64_t  value 
)
inline

Definition at line 35 of file timing_aggregator.h.

◆ BDM_CLASS_DEF_NV()

bdm::TimingAggregator::BDM_CLASS_DEF_NV ( TimingAggregator  ,
 
)
private

◆ operator[]()

int bdm::TimingAggregator::operator[] ( std::string  idx)
inline

Definition at line 49 of file timing_aggregator.h.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const TimingAggregator p 
)
friend

Definition at line 62 of file timing_aggregator.h.

Member Data Documentation

◆ descriptions_

std::vector<std::string> bdm::TimingAggregator::descriptions_
private

Definition at line 56 of file timing_aggregator.h.

◆ timings_

std::map<std::string, std::vector<int64_t> > bdm::TimingAggregator::timings_
private

Definition at line 55 of file timing_aggregator.h.


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