ddc
|
#include <util_classes.h>
Public Types | |
typedef map< string, CMyTimeSpan >::const_iterator | ConstIterator |
typedef map< string, CMyTimeSpan >::iterator | Iterator |
Public Member Functions | |
CMyTimeSpanHolder () | |
void | StartTimer (const string &Name, long NestId) |
double | EndTimer (const string &Name) |
string | GetStrRepresentation (double AllClocksCount=0) const |
void | ClearTimers () |
Public Attributes | |
bool | m_bTimeSpanHolderEnabled |
Private Attributes | |
map< string, CMyTimeSpan > | m_TimeSpans |
long | m_SequenceId |
typedef map<string, CMyTimeSpan>::const_iterator CMyTimeSpanHolder::ConstIterator |
typedef map<string, CMyTimeSpan>::iterator CMyTimeSpanHolder::Iterator |
CMyTimeSpanHolder::CMyTimeSpanHolder | ( | ) |
void CMyTimeSpanHolder::StartTimer | ( | const string & | Name, |
long | NestId | ||
) |
Referenced by ConcIndexatorInvoker::AddInputLoadIndexToMemoryLoadIndexWrapper(), ConcIndexatorInvoker::BuildIndexStart(), ConcIndexatorInvoker::FinalizeIndex(), ConcIndexatorInvoker::IndexFile(), and ConcIndexatorInvoker::SaveLoadIndexToDisk().
double CMyTimeSpanHolder::EndTimer | ( | const string & | Name | ) |
References ErrorMessage(), and Format().
Referenced by ConcIndexatorInvoker::AddInputLoadIndexToMemoryLoadIndexWrapper(), ConcIndexatorInvoker::FinalizeIndex(), ConcIndexatorInvoker::IndexFile(), ConcIndexatorInvoker::SaveLoadIndexToDisk(), and ConcIndexatorInvoker::WriteTimeStatistics().
string CMyTimeSpanHolder::GetStrRepresentation | ( | double | AllClocksCount = 0 | ) | const |
Referenced by ConcIndexatorInvoker::WriteTimeStatistics().
void CMyTimeSpanHolder::ClearTimers | ( | ) |
|
private |
|
private |
bool CMyTimeSpanHolder::m_bTimeSpanHolderEnabled |
Referenced by ConcIndexatorInvoker::ConcIndexatorInvoker().