aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02645.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a02645.html157
1 files changed, 157 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02645.html b/docs/doxygen/nel/a02645.html
new file mode 100644
index 00000000..fcbc4c50
--- /dev/null
+++ b/docs/doxygen/nel/a02645.html
@@ -0,0 +1,157 @@
+<!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: NLMISC::CHTimer::CStatSorter struct 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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NLMISC::CHTimer::CStatSorter Struct Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
+A statistics sorter, based on some criterion. It works on pointers on <a class="el" href="a02644.html">CStats</a> objects
+<p>
+
+<p>
+Definition at line <a class="el" href="a05788.html#l00374">374</a> of file <a class="el" href="a05788.html">hierarchical_timer.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02645.html#NLMISC_1_1CHTimer_1_1CStatSortera0">CStatSorter</a> (<a class="el" href="a02640.html#NLMISC_1_1CHTimerw8">TSortCriterion</a> criterion=TotalTime)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02645.html#NLMISC_1_1CHTimer_1_1CStatSortera1">operator()</a> (const <a class="el" href="a02644.html">CStats</a> *lhs, const <a class="el" href="a02644.html">CStats</a> *rhs)</td></tr>
+
+<tr><td colspan=2><br><h2>Data Fields</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02640.html#NLMISC_1_1CHTimerw8">TSortCriterion</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02645.html#NLMISC_1_1CHTimer_1_1CStatSortero0">Criterion</a></td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CHTimer_1_1CStatSortera0" doxytag="NLMISC::CHTimer::CStatSorter::CStatSorter" ></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"> NLMISC::CHTimer::CStatSorter::CStatSorter </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02640.html#NLMISC_1_1CHTimerw8">TSortCriterion</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>criterion</em> = TotalTime </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05788.html#l00376">376</a> of file <a class="el" href="a05788.html">hierarchical_timer.h</a>.
+<p>
+References <a class="el" href="a05788.html#l00378">Criterion</a>.
+<p>
+<div class="fragment"><pre>00376 : <a class="code" href="a02645.html#NLMISC_1_1CHTimer_1_1CStatSortero0">Criterion</a>(criterion)
+00377 {}
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CHTimer_1_1CStatSortera1" doxytag="NLMISC::CHTimer::CStatSorter::operator()" ></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"> bool NLMISC::CHTimer::CStatSorter::operator() </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02644.html">CStats</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>lhs</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a02644.html">CStats</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>rhs</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05787.html#l00916">916</a> of file <a class="el" href="a05787.html">hierarchical_timer.cpp</a>.
+<p>
+References <a class="el" href="a05788.html#l00378">Criterion</a>, <a class="el" href="a05788.html#l00343">NLMISC::CHTimer::CStats::MaxTime</a>, <a class="el" href="a05788.html#l00340">NLMISC::CHTimer::CStats::MeanTime</a>, <a class="el" href="a05788.html#l00342">NLMISC::CHTimer::CStats::MinTime</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05788.html#l00341">NLMISC::CHTimer::CStats::NumVisits</a>, <a class="el" href="a05788.html#l00338">NLMISC::CHTimer::CStats::TotalTime</a>, and <a class="el" href="a05788.html#l00339">NLMISC::CHTimer::CStats::TotalTimeWithoutSons</a>.
+<p>
+<div class="fragment"><pre>00917 {
+00918 <span class="keywordflow">switch</span>(<a class="code" href="a02645.html#NLMISC_1_1CHTimer_1_1CStatSortero0">Criterion</a>)
+00919 {
+00920 <span class="keywordflow">case</span> CHTimer::TotalTime: <span class="keywordflow">return</span> lhs-&gt;TotalTime &gt;= rhs-&gt;TotalTime;
+00921 <span class="keywordflow">case</span> CHTimer::TotalTimeWithoutSons: <span class="keywordflow">return</span> lhs-&gt;TotalTimeWithoutSons &gt;= rhs-&gt;TotalTimeWithoutSons;
+00922 <span class="keywordflow">case</span> CHTimer::MeanTime: <span class="keywordflow">return</span> lhs-&gt;MeanTime &gt;= rhs-&gt;MeanTime;
+00923 <span class="keywordflow">case</span> CHTimer::NumVisits: <span class="keywordflow">return</span> lhs-&gt;NumVisits &gt;= rhs-&gt;NumVisits;
+00924 <span class="keywordflow">case</span> CHTimer::MaxTime: <span class="keywordflow">return</span> lhs-&gt;MaxTime &gt;= rhs-&gt;MaxTime;
+00925 <span class="keywordflow">case</span> CHTimer::MinTime: <span class="keywordflow">return</span> lhs-&gt;MinTime &lt; rhs-&gt;MinTime;
+00926 <span class="keywordflow">default</span>:
+00927 <a class="code" href="a04199.html#a6">nlassert</a>(0); <span class="comment">// not a valid criterion</span>
+00928 <span class="keywordflow">break</span>;
+00929 }
+00930 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00931 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CHTimer_1_1CStatSortero0" doxytag="NLMISC::CHTimer::CStatSorter::Criterion" ></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"> <a class="el" href="a02640.html#NLMISC_1_1CHTimerw8">TSortCriterion</a> <a class="el" href="a02645.html#NLMISC_1_1CHTimer_1_1CStatSortero0">NLMISC::CHTimer::CStatSorter::Criterion</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05788.html#l00378">378</a> of file <a class="el" href="a05788.html">hierarchical_timer.h</a>.
+<p>
+Referenced by <a class="el" href="a05788.html#l00376">CStatSorter()</a>, <a class="el" href="a05787.html#l00556">NLMISC::CHTimer::displayHierarchicalByExecutionPathSorted()</a>, <a class="el" href="a05787.html#l00675">NLMISC::CHTimer::displaySummary()</a>, and <a class="el" href="a05787.html#l00916">operator()()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this struct was generated from the following files:<ul>
+<li><a class="el" href="a05788.html">hierarchical_timer.h</a><li><a class="el" href="a05787.html">hierarchical_timer.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:18:19 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>