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

#include <debug.h>

Public Attributes

int index
 
charname
 
int size
 
int * times
 
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

◆ beginTime

ctime_t sofa::helper::system::thread::TraceProfile::beginTime

◆ endTime

ctime_t sofa::helper::system::thread::TraceProfile::endTime

◆ index

int sofa::helper::system::thread::TraceProfile::index

◆ name

char* sofa::helper::system::thread::TraceProfile::name

◆ size

int sofa::helper::system::thread::TraceProfile::size

◆ sum

int sofa::helper::system::thread::TraceProfile::sum

◆ times

int* sofa::helper::system::thread::TraceProfile::times

Constructor details

◆ TraceProfile()

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

◆ ~TraceProfile()

sofa::helper::system::thread::TraceProfile::~TraceProfile ( )

Function details

◆ addTime()

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

◆ begin()

void sofa::helper::system::thread::TraceProfile::begin ( )

◆ end()

void sofa::helper::system::thread::TraceProfile::end ( int  instant)