diff options
Diffstat (limited to 'docs/doxygen/nel/a04365.html')
-rw-r--r-- | docs/doxygen/nel/a04365.html | 299 |
1 files changed, 299 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a04365.html b/docs/doxygen/nel/a04365.html new file mode 100644 index 00000000..1552caa6 --- /dev/null +++ b/docs/doxygen/nel/a04365.html @@ -0,0 +1,299 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: hierarchical_timer.h File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>hierarchical_timer.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> +Hierarchical timer<p> +<dl compact><dt><b>Id</b></dt><dd><a class="el" href="a04365.html">hierarchical_timer.h</a>,v 1.29 2004/01/16 09:07:42 lecroart Exp </dd></dl> + +<p> +Definition in file <a class="el" href="a05788.html">hierarchical_timer.h</a>. +<p> +<code>#include <string></code><br> +<code>#include <vector></code><br> +<code>#include "<a class="el" href="a06590.html">nel/misc/types_nl.h</a>"</code><br> +<code>#include "<a class="el" href="a06553.html">nel/misc/time_nl.h</a>"</code><br> +<code>#include "<a class="el" href="a05622.html">nel/misc/debug.h</a>"</code><br> +<code>#include <algorithm></code><br> + +<p> +<a href="a05788.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>namespace </td><td class="memItemRight" valign=bottom><a class="el" href="a05378.html">NLMISC</a></td></tr> + +<tr><td colspan=2><br><h2>Defines</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="a04365.html#a0">ALLOW_TIMING_MEASURES</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="a04365.html#a3">H_AFTER</a>(__name) __name##_timer.after();</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="a04365.html#a4">H_AUTO</a>(__name) static <a class="el" href="a02640.html">NLMISC::CHTimer</a> __name##_timer(#__name); <a class="el" href="a02243.html">NLMISC::CAutoTimer</a> __name##_auto(&__name##_timer);</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="a04365.html#a6">H_AUTO_DECL</a>(__name) static <a class="el" href="a02640.html">NLMISC::CHTimer</a> __name##_timer(#__name);</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="a04365.html#a5">H_AUTO_INST</a>(__name) static <a class="el" href="a02640.html">NLMISC::CHTimer</a> __name##_timer(#__name); <a class="el" href="a02244.html">NLMISC::CAutoTimerInst</a> __name##_auto(&__name##_timer);</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="a04365.html#a7">H_AUTO_USE</a>(__name) <a class="el" href="a02243.html">NLMISC::CAutoTimer</a> __name##_auto(&__name##_timer);</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="a04365.html#a2">H_BEFORE</a>(__name) static <a class="el" href="a02640.html">NLMISC::CHTimer</a> __name##_timer(#__name); __name##_timer.before();</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="a04365.html#a1">H_TIME</a>(__name, __inst)</td></tr> + +</table> +<hr><h2>Define Documentation</h2> +<a class="anchor" name="a0" doxytag="hierarchical_timer.h::ALLOW_TIMING_MEASURES" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define ALLOW_TIMING_MEASURES + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05788.html#l00039">39</a> of file <a class="el" href="a05788.html">hierarchical_timer.h</a>. </td> + </tr> +</table> +<a class="anchor" name="a3" doxytag="hierarchical_timer.h::H_AFTER" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define H_AFTER</td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">__name </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> __name##_timer.after(); + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05788.html#l00054">54</a> of file <a class="el" href="a05788.html">hierarchical_timer.h</a>. +<p> +Referenced by <a class="el" href="a06302.html#l00193">NL3D::CQuadGridClipClusterQTreeNode::clip()</a>, <a class="el" href="a05870.html#l00143">NL3D::CLandscapeModel::clipAndRenderLandscape()</a>, <a class="el" href="a05862.html#l00939">NL3D::CLandscape::render()</a>, <a class="el" href="a05555.html#l00120">NL3D::CClipTrav::traverse()</a>, and <a class="el" href="a05471.html#l00861">NLSOUND::CBackgroundSoundManager::updateBackgroundStatus()</a>. </td> + </tr> +</table> +<a class="anchor" name="a4" doxytag="hierarchical_timer.h::H_AUTO" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define H_AUTO</td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">__name </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> static <a class="el" href="a02640.html">NLMISC::CHTimer</a> __name##_timer(#__name); <a class="el" href="a02243.html">NLMISC::CAutoTimer</a> __name##_auto(&__name##_timer); + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05788.html#l00056">56</a> of file <a class="el" href="a05788.html">hierarchical_timer.h</a>. +<p> +Referenced by <a class="el" href="a06720.html#l00178">NL3D::CVertexStreamManager::activate()</a>, <a class="el" href="a06005.html#l02738">NL3D::CMeshMRMGeom::activeInstance()</a>, <a class="el" href="a05935.html#l00359">NL3D::CLodCharacterManager::addRenderCharacterKey()</a>, <a class="el" href="a06175.html#l00065">NL3D::CPlayListManagerUser::animate()</a>, <a class="el" href="a06645.html#l01517">NLNET::CUnifiedNetwork::autoCheck()</a>, <a class="el" href="a05526.html#l00328">NLNET::CCallbackNetBase::baseUpdate()</a>, <a class="el" href="a05935.html#l00276">NL3D::CLodCharacterManager::beginRender()</a>, <a class="el" href="a06758.html#l00922">NL3D::CZone::clip()</a>, <a class="el" href="a06737.html#l01130">NL3D::CWaterModel::clip()</a>, <a class="el" href="a06570.html#l00141">NL3D::CTransformShape::clip()</a>, <a class="el" href="a06302.html#l00193">NL3D::CQuadGridClipClusterQTreeNode::clip()</a>, <a class="el" href="a05870.html#l00143">NL3D::CLandscapeModel::clipAndRenderLandscape()</a>, <a class="el" href="a05555.html#l00532">NL3D::CClipTrav::clipSkeletonShadowMaps()</a>, <a class="el" href="a06195.html#l00649">NLLIGO::CPrimZone::contains()</a>, <a class="el" href="a06304.html#l00274">NL3D::CQuadGridClipManager::deleteCaseModels()</a>, <a class="el" href="a06207.html#l00201">NLPACS::CPrimitiveWorldImage::doMove()</a>, <a class="el" href="a05935.html#l00736">NL3D::CLodCharacterManager::endRender()</a>, <a class="el" href="a05997.html#l00114">NL3D::CMeshBlockManager::flush()</a>, <a class="el" href="a05569.html#l00123">NL3D::CCoarseMeshManager::flushRender()</a>, <a class="el" href="a06393.html#l01781">NL3D::CSkeletonModel::generateShadowMap()</a>, <a class="el" href="a05937.html#l00572">NL3D::CLodCharacterShape::getAnimKey()</a>, <a class="el" href="a06725.html#l00565">NL3D::CVisualCollisionEntity::getSurfaceInfo()</a>, <a class="el" href="a06047.html#l00043">H_AUTO_DECL()</a>, <a class="el" href="a06304.html#l00204">NL3D::CQuadGridClipManager::linkModel()</a>, <a class="el" href="a05471.html#l00618">NLSOUND::CBackgroundSoundManager::load()</a>, <a class="el" href="a06720.html#l00155">NL3D::CVertexStreamManager::lock()</a>, <a class="el" href="a06364.html#l00419">NLNET::IService::main()</a>, <a class="el" href="a06304.html#l00293">NL3D::CQuadGridClipManager::newCaseModels()</a>, <a class="el" href="a05862.html#l00605">NL3D::CLandscape::refine()</a>, <a class="el" href="a06698.html#l01713">NL3D::CVegetableManager::render()</a>, <a class="el" href="a06688.html#l00077">NL3D::CVegetableBlendLayerModel::render()</a>, <a class="el" href="a06152.html#l00287">NL3D::CParticleSystemShape::render()</a>, <a class="el" href="a06011.html#l00568">NL3D::CMeshMRMSkinnedGeom::render()</a>, <a class="el" href="a06005.html#l00927">NL3D::CMeshMRMGeom::render()</a>, <a class="el" href="a05989.html#l00598">NL3D::CMeshGeom::render()</a>, <a class="el" href="a06372.html#l00234">NL3D::CShadowMapManager::renderGenerate()</a>, <a class="el" href="a06372.html#l00445">NL3D::CShadowMapManager::renderProject()</a>, <a class="el" href="a06393.html#l01885">NL3D::CSkeletonModel::renderShadowSkins()</a>, <a class="el" href="a05989.html#l00915">NL3D::CMeshGeom::renderSimpleWithMaterial()</a>, <a class="el" href="a06005.html#l01146">NL3D::CMeshMRMGeom::renderSkin()</a>, <a class="el" href="a05989.html#l00788">NL3D::CMeshGeom::renderSkin()</a>, <a class="el" href="a06011.html#l00726">NL3D::CMeshMRMSkinnedGeom::renderSkinGroupGeom()</a>, <a class="el" href="a06005.html#l01318">NL3D::CMeshMRMGeom::renderSkinGroupGeom()</a>, <a class="el" href="a06011.html#l00795">NL3D::CMeshMRMSkinnedGeom::renderSkinGroupPrimitives()</a>, <a class="el" href="a06005.html#l01406">NL3D::CMeshMRMGeom::renderSkinGroupPrimitives()</a>, <a class="el" href="a06011.html#l00877">NL3D::CMeshMRMSkinnedGeom::renderSkinGroupSpecularRdrPass()</a>, <a class="el" href="a06005.html#l01488">NL3D::CMeshMRMGeom::renderSkinGroupSpecularRdrPass()</a>, <a class="el" href="a06393.html#l01449">NL3D::CSkeletonModel::renderSkinList()</a>, <a class="el" href="a06429.html#l01781">NLSOUND::CSourceDSound::setEAXProperty()</a>, <a class="el" href="a06175.html#l00075">NL3D::CPlayListManagerUser::setup()</a>, <a class="el" href="a05565.html#l00481">NLSOUND::CClusteredSound::soundTraverse()</a>, <a class="el" href="a06329.html#l00089">NL3D::CRenderTrav::traverse()</a>, <a class="el" href="a05923.html#l00161">NL3D::CLoadBalancingTrav::traverse()</a>, <a class="el" href="a05897.html#l00068">NL3D::CLightTrav::traverse()</a>, <a class="el" href="a05796.html#l00041">NL3D::CHrcTrav::traverse()</a>, <a class="el" href="a05555.html#l00120">NL3D::CClipTrav::traverse()</a>, <a class="el" href="a05431.html#l00060">NL3D::CAnimDetailTrav::traverse()</a>, <a class="el" href="a06737.html#l00437">NL3D::CWaterModel::traverseRender()</a>, <a class="el" href="a06570.html#l00178">NL3D::CTransformShape::traverseRender()</a>, <a class="el" href="a06393.html#l01030">NL3D::CSkeletonModel::traverseRender()</a>, <a class="el" href="a06645.html#l00406">NLNET::uncbMsgProcessing()</a>, <a class="el" href="a06720.html#l00166">NL3D::CVertexStreamManager::unlock()</a>, <a class="el" href="a06645.html#l00857">NLNET::CUnifiedNetwork::update()</a>, <a class="el" href="a06429.html#l01059">NLSOUND::CSourceDSound::update()</a>, <a class="el" href="a06420.html#l00703">NLSOUND::CSoundDriverDSound::update()</a>, <a class="el" href="a05565.html#l00270">NLSOUND::CClusteredSound::update()</a>, <a class="el" href="a05528.html#l00175">NLNET::CCallbackServer::update()</a>, <a class="el" href="a05524.html#l00162">NLNET::CCallbackClient::update()</a>, <a class="el" href="a05465.html#l01268">NLSOUND::CAudioMixerUser::update()</a>, <a class="el" href="a05471.html#l00861">NLSOUND::CBackgroundSoundManager::updateBackgroundStatus()</a>, <a class="el" href="a06304.html#l00112">NL3D::CQuadGridClipManager::updateClustersFromCamera()</a>, <a class="el" href="a06011.html#l01568">NL3D::CMeshMRMSkinnedGeom::updateRawSkinNormal()</a>, <a class="el" href="a06005.html#l03060">NL3D::CMeshMRMGeom::updateRawSkinNormal()</a>, and <a class="el" href="a06704.html#l00074">NL3D::CVegetableSortBlock::updateSortBlock()</a>. </td> + </tr> +</table> +<a class="anchor" name="a6" doxytag="hierarchical_timer.h::H_AUTO_DECL" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define H_AUTO_DECL</td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">__name </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> static <a class="el" href="a02640.html">NLMISC::CHTimer</a> __name##_timer(#__name); + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +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 +<p> +Definition at line <a class="el" href="a05788.html#l00063">63</a> of file <a class="el" href="a05788.html">hierarchical_timer.h</a>. </td> + </tr> +</table> +<a class="anchor" name="a5" doxytag="hierarchical_timer.h::H_AUTO_INST" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define H_AUTO_INST</td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">__name </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> static <a class="el" href="a02640.html">NLMISC::CHTimer</a> __name##_timer(#__name); <a class="el" href="a02244.html">NLMISC::CAutoTimerInst</a> __name##_auto(&__name##_timer); + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05788.html#l00058">58</a> of file <a class="el" href="a05788.html">hierarchical_timer.h</a>. </td> + </tr> +</table> +<a class="anchor" name="a7" doxytag="hierarchical_timer.h::H_AUTO_USE" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define H_AUTO_USE</td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">__name </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> <a class="el" href="a02243.html">NLMISC::CAutoTimer</a> __name##_auto(&__name##_timer); + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05788.html#l00064">64</a> of file <a class="el" href="a05788.html">hierarchical_timer.h</a>. +<p> +Referenced by <a class="el" href="a05569.html#l00084">NL3D::CCoarseMeshManager::addMesh()</a>, <a class="el" href="a06302.html#l00444">NL3D::CQuadGridClipCluster::clip()</a>, <a class="el" href="a06302.html#l00268">NL3D::CQuadGridClipClusterQTreeNode::noFrustumClip()</a>, <a class="el" href="a06011.html#l01843">NL3D::CMeshMRMSkinnedGeom::renderShadowSkinGeom()</a>, <a class="el" href="a06005.html#l03376">NL3D::CMeshMRMGeom::renderShadowSkinGeom()</a>, <a class="el" href="a06011.html#l01879">NL3D::CMeshMRMSkinnedGeom::renderShadowSkinPrimitives()</a>, and <a class="el" href="a06005.html#l03412">NL3D::CMeshMRMGeom::renderShadowSkinPrimitives()</a>. </td> + </tr> +</table> +<a class="anchor" name="a2" doxytag="hierarchical_timer.h::H_BEFORE" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define H_BEFORE</td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">__name </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> static <a class="el" href="a02640.html">NLMISC::CHTimer</a> __name##_timer(#__name); __name##_timer.before(); + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05788.html#l00053">53</a> of file <a class="el" href="a05788.html">hierarchical_timer.h</a>. +<p> +Referenced by <a class="el" href="a06302.html#l00193">NL3D::CQuadGridClipClusterQTreeNode::clip()</a>, <a class="el" href="a05870.html#l00143">NL3D::CLandscapeModel::clipAndRenderLandscape()</a>, <a class="el" href="a05862.html#l00939">NL3D::CLandscape::render()</a>, <a class="el" href="a05555.html#l00120">NL3D::CClipTrav::traverse()</a>, and <a class="el" href="a05471.html#l00861">NLSOUND::CBackgroundSoundManager::updateBackgroundStatus()</a>. </td> + </tr> +</table> +<a class="anchor" name="a1" doxytag="hierarchical_timer.h::H_TIME" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define H_TIME</td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">__name, <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>__inst </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<b>Value:</b><div class="fragment"><pre>{ \ + <span class="keyword">static</span> <a class="code" href="a02640.html">NLMISC::CHTimer</a> nl_h_timer(#__name); \ + nl_h_timer.<a class="code" href="a02640.html#NLMISC_1_1CHTimera2">before</a>(); \ + __inst \ + nl_h_timer.<a class="code" href="a02640.html#NLMISC_1_1CHTimera1">after</a>(); \ + } +</pre></div> +<p> +Definition at line <a class="el" href="a05788.html#l00045">45</a> of file <a class="el" href="a05788.html">hierarchical_timer.h</a>. +<p> +Referenced by <a class="el" href="a06645.html#l00857">NLNET::CUnifiedNetwork::update()</a>. </td> + </tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:42:36 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |