|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
hierarchical_timer.h File ReferenceHierarchical timer.
More...
#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.
Detailed Description
Hierarchical timer.
-
Id:
-
hierarchical_timer.h,v 1.19 2002/08/21 09:36:01 lecroart Exp
Definition in file hierarchical_timer.h.
Define Documentation
#define ALLOW_TIMING_MEASURES
|
|
#define H_AFTER |
( |
__name |
|
) |
__name##_timer.after();
|
|
|
Definition at line 54 of file hierarchical_timer.h.
Referenced by NL3D::CPlayListManagerUser::animate, NL3D::CLandscapeClipObs::clip, NL3D::CMeshBlockManager::flush, NL3D::CLandscape::refine, NL3D::CVegetableManager::render, NL3D::CVegetableBlendLayerModel::render, NL3D::CParticleSystemShape::render, NL3D::CMeshMRMGeom::render, NL3D::CMeshGeom::render, NL3D::CCoarseMeshManager::render, NL3D::CMeshGeom::renderSkin, NL3D::CSkeletonModelRenderObs::renderSkinList, NL3D::CWaterRenderObs::traverse, NL3D::CTransformShapeRenderObs::traverse, NL3D::CSkeletonModelRenderObs::traverse, NL3D::CRenderTrav::traverse, NL3D::CParticleSystemClipObs::traverse, NL3D::CLoadBalancingTrav::traverse, NL3D::CLightTrav::traverse, NL3D::CLandscapeRenderObs::traverse, NL3D::CHrcTrav::traverse, NL3D::CClipTrav::traverse, NL3D::CAnimDetailTrav::traverse, and NL3D::CMeshMRMGeom::updateRawSkinNormal. |
#define H_AUTO_DECL |
( |
__name |
|
) |
static NLMISC::CHTimer __name##_timer(#__name);
|
|
|
H_AUTO splitted in 2.
The declaration of the static timer, and a CAutoTimer instance. Usefull to group same timer bench in different functions for example
Definition at line 61 of file hierarchical_timer.h. |
#define H_BEFORE |
( |
__name |
|
) |
static NLMISC::CHTimer __name##_timer(#__name); __name##_timer.before();
|
|
#define H_TIME |
( |
name, |
|
|
inst |
|
) |
|
|
|
|