SOFA API  014b24ea
Open source framework for multi-physics simuation
sofa::helper::system::thread::TraceProfile Class Reference

#include <debug.h>

Public Attributes

int index
 
char * name
 
int size
 
inttimes
 
int sum
 
ctime_t beginTime
 
ctime_t endTime
 

Public Member Functions

 TraceProfile (const char *name, int index, int size)
 
 ~TraceProfile ()
 
void addTime (int instant, int time)
 
void begin ()
 
void end (int instant)
 

Attribute details

ctime_t sofa::helper::system::thread::TraceProfile::beginTime
ctime_t sofa::helper::system::thread::TraceProfile::endTime
int sofa::helper::system::thread::TraceProfile::index
char* sofa::helper::system::thread::TraceProfile::name
int sofa::helper::system::thread::TraceProfile::size
int sofa::helper::system::thread::TraceProfile::sum
int* sofa::helper::system::thread::TraceProfile::times

Constructor details

sofa::helper::system::thread::TraceProfile::TraceProfile ( const char *  name,
int  index,
int  size 
)
sofa::helper::system::thread::TraceProfile::~TraceProfile ( )

Function details

void sofa::helper::system::thread::TraceProfile::addTime ( int  instant,
int  time 
)
void sofa::helper::system::thread::TraceProfile::begin ( )
void sofa::helper::system::thread::TraceProfile::end ( int  instant)