|
Public Member Functions |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | MoniTool_Stat (const Standard_CString title="") |
| Creates a Stat form. At start, one default phase is defined,
with one default step. Then, it suffises to start with a
count of items (and cycles if several) then record items,
to have a queryable report.
.
|
Standard_EXPORT | MoniTool_Stat (const MoniTool_Stat &other) |
| used when starting
|
Standard_EXPORT Standard_Integer | Open (const Standard_Integer nb=100) |
| Opens a new counter with a starting count of items
.
|
Standard_EXPORT void | OpenMore (const Standard_Integer id, const Standard_Integer nb) |
| Adds more items to be counted by Add... on current level
.
|
Standard_EXPORT void | Add (const Standard_Integer nb=1) |
| Directly addes items
.
|
Standard_EXPORT void | AddSub (const Standard_Integer nb=1) |
| Declares a count of items to be added later. If a sub-counter
is opened, its percentage multiplies this sub-count to compute
the percent of current level
.
|
Standard_EXPORT void | AddEnd () |
| Ends the AddSub and cumulates the sub-count to current level
.
|
Standard_EXPORT void | Close (const Standard_Integer id) |
Standard_EXPORT Standard_Integer | Level () const |
Standard_EXPORT Standard_Real | Percent (const Standard_Integer fromlev=0) const |
Static Public Member Functions |
static Standard_EXPORT MoniTool_Stat & | Current () |
Private Attributes |
Handle_TCollection_HAsciiString | thetit |
Standard_Integer | thelev |
Handle_TColStd_HArray1OfInteger | thetot |
Handle_TColStd_HArray1OfInteger | thedone |
Handle_TColStd_HArray1OfInteger | thecurr |