other versions
- jessie 3.1.4~abc9f50-7
SbProfilingData(3) | Coin | SbProfilingData(3) |
NAME¶
SbProfilingData - Data structure for gathering scene graph traversal profiling information.SYNOPSIS¶
Public Types¶
enum FootprintType { MEMORY_SIZE, VIDEO_MEMORY_SIZE }
Public Member Functions¶
SbProfilingData (void)
Protected Attributes¶
SoType actionType
Detailed Description¶
Data structure for gathering scene graph traversal profiling information.Constructor & Destructor Documentation¶
SbProfilingData::SbProfilingData (void)¶
Constructor.SbProfilingData::SbProfilingData (const SbProfilingData &rhs)¶
Copy constructor.SbProfilingData::~SbProfilingData (void)¶
Desctructor.Member Function Documentation¶
void SbProfilingData::setActionType ( SoTypeactiontype)¶
Register which type of action we are recording statistics for.SoType SbProfilingData::getActionType (void) const¶
Return the action type set for this SbProfilingData.void SbProfilingData::setActionStartTime ( SbTimestarttime)¶
Set traversal start time.SbTime SbProfilingData::getActionStartTime (void) const¶
Return the action start time.void SbProfilingData::setActionStopTime ( SbTimestoptime)¶
Set traversal stop time.SbTime SbProfilingData::getActionStopTime (void) const¶
Return the action stop time.SbTime SbProfilingData::getActionDuration (void) const¶
Return the time the action has spent on the traversal that was profiled.void SbProfilingData::setNodeTiming (const SoPath *path, SbTimetiming)¶
This function calls the index-version of setNodeTiming after having fetched the index.void SbProfilingData::setNodeTiming (intidx, SbTimetiming)¶
This method sets the timing for a node, as if it was new data to be registered. This means that counters of various types are implicitly incremented and similar things. To avoid those sideeffects, use offsetNodeTiming, which leaves all the counters alone. See also:offsetNodeTiming
void SbProfilingData::preOffsetNodeTiming (intidx, SbTimetiming)¶
This function will adjust node timings without touching traversal counters.SbTime SbProfilingData::getNodeTiming (const SoPath *path, unsigned intflags = 0) const¶
Returns the timing for a node.int SbProfilingData::getIndex (const SoPath *path, SbBoolcreate = FALSE)¶
Return the index of the tail node in the path. If node is not registered, add it and return that index.int SbProfilingData::getParentIndex (intidx) const¶
Return the index of the parent of the node entry at index idx. If entry is a root entry, -1 is returned.void SbProfilingData::reset (void)¶
Remove all stored data.SbProfilingData & SbProfilingData::operator= (const SbProfilingData &rhs)¶
Assignment operator.SbProfilingData & SbProfilingData::operator+= (const SbProfilingData &rhs)¶
Add profiling data from another data set.size_t SbProfilingData::getProfilingDataSize (void) const¶
Returns the amount of memory allocated for this data structure.Author¶
Generated automatically by Doxygen for Coin from the source code.Thu May 29 2014 | Version 4.0.0a |