MeVisLab Toolbox Reference
ml::ProcessingTimeLine::TimeLine Class Reference

Timeline for a single thread. More...

#include <mlProcessingTimeLine.h>

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 39 of file mlProcessingTimeLine.h.

Constructor & Destructor Documentation

◆ TimeLine()

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

Definition at line 42 of file mlProcessingTimeLine.h.

Member Function Documentation

◆ clear()

void ml::ProcessingTimeLine::TimeLine::clear ( )

◆ copyFrom()

void ml::ProcessingTimeLine::TimeLine::copyFrom ( TimeLine & timeline)

◆ getEntries()

const std::vector< Entry > & ml::ProcessingTimeLine::TimeLine::getEntries ( ) const
inline

Definition at line 74 of file mlProcessingTimeLine.h.

◆ getMaximumTime()

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

searches and returns the highest time point that was measured

◆ getMinimumTime()

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

searches and returns the smallest time point that was measured

◆ load()

void ml::ProcessingTimeLine::TimeLine::load ( std::ifstream & stream)

◆ name()

const std::string & ml::ProcessingTimeLine::TimeLine::name ( ) const
inline

Definition at line 76 of file mlProcessingTimeLine.h.

◆ save()

void ml::ProcessingTimeLine::TimeLine::save ( std::ofstream & stream)

◆ startEntry()

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

starts an entry and returns its index

◆ stopEntry()

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: