SbProfilingData - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 3.1.3
Note : Coin
NAMESbProfilingData − Data structure for gathering scene graph traversal profiling information.
SYNOPSIS
Public Typesenum FootprintType { MEMORY_SIZE, VIDEO_MEMORY_SIZE }
enum NodeFlag { GL_CACHED_FLAG, CULLED_FLAG }
enum NodeDataQueryFlags { INCLUDE_CHILDREN = 0x01 }
typedef void SbProfilingDataCB(void *userdata, const SbProfilingData &data, const SbList< SoNode * > &pointers, SbList< int > &childindices, int idx)
Public Member FunctionsSbProfilingData (void)
SbProfilingData (const SbProfilingData &rhs)
~SbProfilingData (void)
void setActionType (SoType actiontype)
SoType getActionType (void) const
void setActionStartTime (SbTime starttime)
SbTime getActionStartTime (void) const
void setActionStopTime (SbTime stoptime)
SbTime getActionStopTime (void) const
SbTime getActionDuration (void) const
void setNodeTiming (const SoPath *path, SbTime timing)
void setNodeTiming (int idx, SbTime timing)
void preOffsetNodeTiming (int idx, SbTime timing)
SbTime getNodeTiming (const SoPath *path, unsigned int queryflags=0) const
SbTime getNodeTiming (int idx, unsigned int queryflags=0) const
void setNodeFootprint (const SoPath *path, FootprintType type, size_t footprint)
void setNodeFootprint (int idx, FootprintType type, size_t footprint)
size_t getNodeFootprint (const SoPath *path, FootprintType type, unsigned int queryflags=0) const
size_t getNodeFootprint (int idx, FootprintType type, unsigned int queryflags=0) const
void setNodeFlag (const SoPath *path, NodeFlag flag, SbBool on)
void setNodeFlag (int idx, NodeFlag flag, SbBool on)
SbBool getNodeFlag (const SoPath *path, NodeFlag flag) const
SbBool getNodeFlag (int idx, NodeFlag flag) const
int getIndex (const SoPath *path, SbBool create=FALSE)
int getParentIndex (int idx) const
SoType getNodeType (int idx) const
SbName getNodeName (int idx) const
int getLongestNameLength (void) const
int getLongestTypeNameLength (void) const
int getNumNodeEntries (void) const
void reportAll (SbProfilingDataCB *callback, void *userdata) const
void getStatsForTypesKeyList (SbList< SbProfilingNodeTypeKey > &keys_out) const
void getStatsForType (SbProfilingNodeTypeKey type, SbTime &total, SbTime &max, uint32_t &count) const
void getStatsForNamesKeyList (SbList< SbProfilingNodeNameKey > &keys_out) const
void getStatsForName (SbProfilingNodeNameKey name, SbTime &total, SbTime &max, uint32_t &count) const
void reset (void)
SbProfilingData & operator= (const SbProfilingData &rhs)
SbProfilingData & operator+= (const SbProfilingData &rhs)
int operator== (const SbProfilingData &rhs) const
int operator!= (const SbProfilingData &rhs) const
size_t getProfilingDataSize (void) const
Protected AttributesSoType actionType
SbTime actionStartTime
SbTime actionStopTime
Detailed DescriptionData 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 (SoType actiontype)Register which type of action we are recording statistics for.
SoType SbProfilingData::getActionType (void) constReturn the action type set for this SbProfilingData.
void SbProfilingData::setActionStartTime (SbTime starttime)Set traversal start time.
SbTime SbProfilingData::getActionStartTime (void) constReturn the action start time.
void SbProfilingData::setActionStopTime (SbTime stoptime)Set traversal stop time.
SbTime SbProfilingData::getActionStopTime (void) constReturn the action stop time.
SbTime SbProfilingData::getActionDuration (void) constReturn the time the action has spent on the traversal that was profiled.
void SbProfilingData::setNodeTiming (const SoPath * path, SbTime timing)This function calls the index-version of setNodeTiming after having fetched the index.
void SbProfilingData::setNodeTiming (int idx, SbTime timing)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 (int idx, SbTime timing)This function will adjust node timings without touching traversal counters.
SbTime SbProfilingData::getNodeTiming (const SoPath * path, unsigned int flags = 0) constReturns the timing for a node.
int SbProfilingData::getIndex (const SoPath * path, SbBool create = 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 (int idx) constReturn 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) constReturns the amount of memory allocated for this data structure.
AuthorGenerated automatically by Doxygen for Coin from the source code. 0
Johanes Gumabo
Data Size : 31,579 byte
man-SbProfilingData.3coin3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 4 / 184,153
Visitor ID : :
Visitor IP : 52.15.49.90 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.