Performance Accumulation Counter. More...
#include <Inventor/stats/SoPerfAccumCounter.h>
Public Member Functions | |
SoPerfAccumCounter (const SbString &name, const SbString &description, const SbString &module="no module", const LevelEnum level=MEDIUM, bool custom=false) | |
SoNONUNICODE | SoPerfAccumCounter (const char *name, const char *description) |
virtual | ~SoPerfAccumCounter () |
virtual void | reset () |
Performance Accumulation Counter.
Defines a performance counter of type accumulation. A counter is "custom" when its values are the result of an operation between the values of other counters. This counter is reset once a second.
SoPerfCounter, SoPerfStateCounter, SoPerfCounterManager
SoPerfAccumCounter::SoPerfAccumCounter | ( | const SbString & | name, | |
const SbString & | description, | |||
const SbString & | module = "no module" , |
|||
const LevelEnum | level = MEDIUM , |
|||
bool | custom = false | |||
) |
Constructor with SbString.
Creates a counter of type "accumulation".
name | Name of the counter. | |
description | What the counter does. | |
module | The module in which it is relevant to use this counter. | |
level | The qualification level required to use this counter. | |
custom | TRUE if the counter results of an operation between other counters. If it is the case, you will have to set the names of the two parents and the operation with the appropriate methods. |
SoNONUNICODE SoPerfAccumCounter::SoPerfAccumCounter | ( | const char * | name, | |
const char * | description | |||
) |
Constructor with char*.
Creates a counter of type "accumulation".
name | Name of the counter. | |
description | What the counter does. |
virtual SoPerfAccumCounter::~SoPerfAccumCounter | ( | ) | [virtual] |
Destructor.
virtual void SoPerfAccumCounter::reset | ( | ) | [virtual] |
Reset the counter.
Implements SoPerfCounter.