SNAP Library 6.0, User Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <tm.h>
Public Member Functions | |
TTmProfiler () | |
int | AddTimer (const TStr &TimerNm) |
int | GetTimerId (const TStr &TimerNm) const |
TStr | GetTimerNm (const int &TimerId) const |
int | GetTimers () const |
int | GetTimerIdFFirst () const |
bool | GetTimerIdFNext (int &TimerId) const |
void | StartTimer (const TStr &TimerNm) |
void | StartTimer (const int &TimerId) |
void | StopTimer (const TStr &TimerNm) |
void | StopTimer (const int &TimerId) |
void | ResetAll () |
void | ResetTimer (const TStr &TimerNm) |
void | ResetTimer (const int &TimerId) |
double | GetTimerSumSec () const |
double | GetTimerSec (const int &TimerId) const |
void | PrintReport (const TStr &ProfileNm="") const |
Static Public Member Functions | |
static PTmProfiler | New () |
Private Attributes | |
TCRef | CRef |
TInt | MxNmLen |
THash< TStr, TTmStopWatch > | TimerH |
Friends | |
class | TPt< TTmProfiler > |
|
inline |
|
inline |
|
inline |
double TTmProfiler::GetTimerSec | ( | const int & | TimerId | ) | const |
|
inlinestatic |
void TTmProfiler::PrintReport | ( | const TStr & | ProfileNm = "" | ) | const |
|
friend |
|
private |