diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a02645.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a02645.html | 157 |
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 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>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> </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 </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> </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 & 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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02640.html#NLMISC_1_1CHTimerw8">TSortCriterion</a> </td> + <td class="mdname1" valign="top" nowrap> <em>criterion</em> = TotalTime </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </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#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">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02644.html">CStats</a> * </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> * </td> + <td class="mdname" nowrap> <em>rhs</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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->TotalTime >= rhs->TotalTime; +00921 <span class="keywordflow">case</span> CHTimer::TotalTimeWithoutSons: <span class="keywordflow">return</span> lhs->TotalTimeWithoutSons >= rhs->TotalTimeWithoutSons; +00922 <span class="keywordflow">case</span> CHTimer::MeanTime: <span class="keywordflow">return</span> lhs->MeanTime >= rhs->MeanTime; +00923 <span class="keywordflow">case</span> CHTimer::NumVisits: <span class="keywordflow">return</span> lhs->NumVisits >= rhs->NumVisits; +00924 <span class="keywordflow">case</span> CHTimer::MaxTime: <span class="keywordflow">return</span> lhs->MaxTime >= rhs->MaxTime; +00925 <span class="keywordflow">case</span> CHTimer::MinTime: <span class="keywordflow">return</span> lhs->MinTime < rhs->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> + + </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> |