Definition in file hierarchical_timer.h.
#include <string>
#include <vector>
#include "nel/misc/types_nl.h"
#include "nel/misc/time_nl.h"
#include "nel/misc/debug.h"
#include <algorithm>
Go to the source code of this file.
Namespaces | |
| namespace | NLMISC |
Defines | |
| #define | ALLOW_TIMING_MEASURES |
| #define | H_AFTER(__name) __name##_timer.after(); |
| #define | H_AUTO(__name) static NLMISC::CHTimer __name##_timer(#__name); NLMISC::CAutoTimer __name##_auto(&__name##_timer); |
| #define | H_AUTO_DECL(__name) static NLMISC::CHTimer __name##_timer(#__name); |
| #define | H_AUTO_INST(__name) static NLMISC::CHTimer __name##_timer(#__name); NLMISC::CAutoTimerInst __name##_auto(&__name##_timer); |
| #define | H_AUTO_USE(__name) NLMISC::CAutoTimer __name##_auto(&__name##_timer); |
| #define | H_BEFORE(__name) static NLMISC::CHTimer __name##_timer(#__name); __name##_timer.before(); |
| #define | H_TIME(__name, __inst) |
|
|
Definition at line 39 of file hierarchical_timer.h. |
|
|
Definition at line 54 of file hierarchical_timer.h. Referenced by NL3D::CQuadGridClipClusterQTreeNode::clip(), NL3D::CLandscapeModel::clipAndRenderLandscape(), NL3D::CLandscape::render(), NL3D::CClipTrav::traverse(), and NLSOUND::CBackgroundSoundManager::updateBackgroundStatus(). |
|
|
|
H_AUTO splited in 2. The declaration of the static timer, and a CAutoTimer instance. Useful to group same timer bench in different functions for example Definition at line 63 of file hierarchical_timer.h. |
|
|
Definition at line 58 of file hierarchical_timer.h. |
|
|
|
Definition at line 53 of file hierarchical_timer.h. Referenced by NL3D::CQuadGridClipClusterQTreeNode::clip(), NL3D::CLandscapeModel::clipAndRenderLandscape(), NL3D::CLandscape::render(), NL3D::CClipTrav::traverse(), and NLSOUND::CBackgroundSoundManager::updateBackgroundStatus(). |
|
|
Value: { \
static NLMISC::CHTimer nl_h_timer(#__name); \
nl_h_timer.before(); \
__inst \
nl_h_timer.after(); \
}
Definition at line 45 of file hierarchical_timer.h. Referenced by NLNET::CUnifiedNetwork::update(). |
1.3.6