ML Reference
ml::ProcessingTimeLine::TimeLine Class Reference

Timeline for a single thread. More...

#include <mlProcessingTimeLine.h>

List of all members.

Classes

struct  Entry
 Single time line entry. More...

Public Member Functions

 TimeLine (ProcessingTimeLine *owner, const std::string &name)
int startEntry (const std::string &info, int processingScope=0)
 starts an entry and returns its index
void stopEntry (int entryIndex)
 stops the entry at the given index
void load (std::ifstream &stream)
void save (std::ofstream &stream)
void copyFrom (TimeLine &timeline)
double getMinimumTime ()
 searches and returns the smallest time point that was measured
double getMaximumTime ()
 searches and returns the highest time point that was measured
void clear ()
const std::vector< Entry > & getEntries () const
const std::string & name () const

Detailed Description

Timeline for a single thread.

Definition at line 33 of file mlProcessingTimeLine.h.


Constructor & Destructor Documentation

ml::ProcessingTimeLine::TimeLine::TimeLine ( ProcessingTimeLine owner,
const std::string &  name 
) [inline]

Definition at line 36 of file mlProcessingTimeLine.h.


Member Function Documentation

void ml::ProcessingTimeLine::TimeLine::clear ( )
void ml::ProcessingTimeLine::TimeLine::copyFrom ( TimeLine timeline)
const std::vector<Entry>& ml::ProcessingTimeLine::TimeLine::getEntries ( ) const [inline]

Definition at line 68 of file mlProcessingTimeLine.h.

double ml::ProcessingTimeLine::TimeLine::getMaximumTime ( )

searches and returns the highest time point that was measured

double ml::ProcessingTimeLine::TimeLine::getMinimumTime ( )

searches and returns the smallest time point that was measured

void ml::ProcessingTimeLine::TimeLine::load ( std::ifstream &  stream)
const std::string& ml::ProcessingTimeLine::TimeLine::name ( ) const [inline]

Definition at line 70 of file mlProcessingTimeLine.h.

void ml::ProcessingTimeLine::TimeLine::save ( std::ofstream &  stream)
int ml::ProcessingTimeLine::TimeLine::startEntry ( const std::string &  info,
int  processingScope = 0 
)

starts an entry and returns its index

void ml::ProcessingTimeLine::TimeLine::stopEntry ( int  entryIndex)

stops the entry at the given index


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