qtrocket2/docs/doxygen/html/classCatch_1_1Timer.html

317 lines
16 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>QtRocket: Catch::Timer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">QtRocket
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('classCatch_1_1Timer.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classCatch_1_1Timer-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">Catch::Timer Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="catch__amalgamated_8hpp_source.html">catch_amalgamated.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0a56e879e43f36c102bf9ea8b5fc8b72" id="r_a0a56e879e43f36c102bf9ea8b5fc8b72"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0a56e879e43f36c102bf9ea8b5fc8b72">start</a> ()</td></tr>
<tr class="separator:a0a56e879e43f36c102bf9ea8b5fc8b72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57be5d17ca868a2d6fb1eea84de665cf" id="r_a57be5d17ca868a2d6fb1eea84de665cf"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a57be5d17ca868a2d6fb1eea84de665cf">getElapsedNanoseconds</a> () const -&gt; uint64_t</td></tr>
<tr class="separator:a57be5d17ca868a2d6fb1eea84de665cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a545de17a61a6fee1dbe3de5b0723e5fa" id="r_a545de17a61a6fee1dbe3de5b0723e5fa"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a545de17a61a6fee1dbe3de5b0723e5fa">getElapsedMicroseconds</a> () const -&gt; uint64_t</td></tr>
<tr class="separator:a545de17a61a6fee1dbe3de5b0723e5fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30aaf458dbb59dd8ac8971c9c62e0eac" id="r_a30aaf458dbb59dd8ac8971c9c62e0eac"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a30aaf458dbb59dd8ac8971c9c62e0eac">getElapsedMilliseconds</a> () const -&gt; unsigned int</td></tr>
<tr class="separator:a30aaf458dbb59dd8ac8971c9c62e0eac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a065e37e3c9eb16bd4dcf41971d8deedc" id="r_a065e37e3c9eb16bd4dcf41971d8deedc"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a065e37e3c9eb16bd4dcf41971d8deedc">getElapsedSeconds</a> () const -&gt; double</td></tr>
<tr class="separator:a065e37e3c9eb16bd4dcf41971d8deedc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ac13c1ef867cc3b9f942032d5ed79c2a7" id="r_ac13c1ef867cc3b9f942032d5ed79c2a7"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac13c1ef867cc3b9f942032d5ed79c2a7">m_nanoseconds</a> = 0</td></tr>
<tr class="separator:ac13c1ef867cc3b9f942032d5ed79c2a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a545de17a61a6fee1dbe3de5b0723e5fa" name="a545de17a61a6fee1dbe3de5b0723e5fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a545de17a61a6fee1dbe3de5b0723e5fa">&#9670;&#160;</a></span>getElapsedMicroseconds()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto Catch::Timer::getElapsedMicroseconds </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td> const -&gt; uint64_t</td>
</tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classCatch_1_1Timer_a545de17a61a6fee1dbe3de5b0723e5fa_cgraph.png" border="0" usemap="#aclassCatch_1_1Timer_a545de17a61a6fee1dbe3de5b0723e5fa_cgraph" alt=""/></div>
<map name="aclassCatch_1_1Timer_a545de17a61a6fee1dbe3de5b0723e5fa_cgraph" id="aclassCatch_1_1Timer_a545de17a61a6fee1dbe3de5b0723e5fa_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,189,50"/>
<area shape="rect" href="classCatch_1_1Timer.html#a57be5d17ca868a2d6fb1eea84de665cf" title=" " alt="" coords="237,5,420,50"/>
<area shape="poly" title=" " alt="" coords="189,25,221,25,221,30,189,30"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classCatch_1_1Timer_a545de17a61a6fee1dbe3de5b0723e5fa_icgraph.png" border="0" usemap="#aclassCatch_1_1Timer_a545de17a61a6fee1dbe3de5b0723e5fa_icgraph" alt=""/></div>
<map name="aclassCatch_1_1Timer_a545de17a61a6fee1dbe3de5b0723e5fa_icgraph" id="aclassCatch_1_1Timer_a545de17a61a6fee1dbe3de5b0723e5fa_icgraph">
<area shape="rect" title=" " alt="" coords="237,40,420,85"/>
<area shape="rect" href="classCatch_1_1Timer.html#a30aaf458dbb59dd8ac8971c9c62e0eac" title=" " alt="" coords="5,5,189,50"/>
<area shape="poly" title=" " alt="" coords="221,49,189,44,190,39,222,44"/>
<area shape="rect" href="classCatch_1_1Timer.html#a065e37e3c9eb16bd4dcf41971d8deedc" title=" " alt="" coords="5,75,189,119"/>
<area shape="poly" title=" " alt="" coords="222,81,190,86,189,81,221,76"/>
</map>
</div>
</div>
</div>
<a id="a30aaf458dbb59dd8ac8971c9c62e0eac" name="a30aaf458dbb59dd8ac8971c9c62e0eac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30aaf458dbb59dd8ac8971c9c62e0eac">&#9670;&#160;</a></span>getElapsedMilliseconds()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto Catch::Timer::getElapsedMilliseconds </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td> const -&gt; unsigned int</td>
</tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classCatch_1_1Timer_a30aaf458dbb59dd8ac8971c9c62e0eac_cgraph.png" border="0" usemap="#aclassCatch_1_1Timer_a30aaf458dbb59dd8ac8971c9c62e0eac_cgraph" alt=""/></div>
<map name="aclassCatch_1_1Timer_a30aaf458dbb59dd8ac8971c9c62e0eac_cgraph" id="aclassCatch_1_1Timer_a30aaf458dbb59dd8ac8971c9c62e0eac_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,189,50"/>
<area shape="rect" href="classCatch_1_1Timer.html#a545de17a61a6fee1dbe3de5b0723e5fa" title=" " alt="" coords="237,5,420,50"/>
<area shape="poly" title=" " alt="" coords="189,25,221,25,221,30,189,30"/>
<area shape="rect" href="classCatch_1_1Timer.html#a57be5d17ca868a2d6fb1eea84de665cf" title=" " alt="" coords="468,5,651,50"/>
<area shape="poly" title=" " alt="" coords="420,25,452,25,452,30,420,30"/>
</map>
</div>
</div>
</div>
<a id="a57be5d17ca868a2d6fb1eea84de665cf" name="a57be5d17ca868a2d6fb1eea84de665cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57be5d17ca868a2d6fb1eea84de665cf">&#9670;&#160;</a></span>getElapsedNanoseconds()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto Catch::Timer::getElapsedNanoseconds </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td> const -&gt; uint64_t</td>
</tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classCatch_1_1Timer_a57be5d17ca868a2d6fb1eea84de665cf_icgraph.png" border="0" usemap="#aclassCatch_1_1Timer_a57be5d17ca868a2d6fb1eea84de665cf_icgraph" alt=""/></div>
<map name="aclassCatch_1_1Timer_a57be5d17ca868a2d6fb1eea84de665cf_icgraph" id="aclassCatch_1_1Timer_a57be5d17ca868a2d6fb1eea84de665cf_icgraph">
<area shape="rect" title=" " alt="" coords="468,40,651,85"/>
<area shape="rect" href="classCatch_1_1Timer.html#a545de17a61a6fee1dbe3de5b0723e5fa" title=" " alt="" coords="237,40,420,85"/>
<area shape="poly" title=" " alt="" coords="453,65,421,65,421,60,453,60"/>
<area shape="rect" href="classCatch_1_1Timer.html#a30aaf458dbb59dd8ac8971c9c62e0eac" title=" " alt="" coords="5,5,189,50"/>
<area shape="poly" title=" " alt="" coords="221,49,189,44,190,39,222,44"/>
<area shape="rect" href="classCatch_1_1Timer.html#a065e37e3c9eb16bd4dcf41971d8deedc" title=" " alt="" coords="5,75,189,119"/>
<area shape="poly" title=" " alt="" coords="222,81,190,86,189,81,221,76"/>
</map>
</div>
</div>
</div>
<a id="a065e37e3c9eb16bd4dcf41971d8deedc" name="a065e37e3c9eb16bd4dcf41971d8deedc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a065e37e3c9eb16bd4dcf41971d8deedc">&#9670;&#160;</a></span>getElapsedSeconds()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto Catch::Timer::getElapsedSeconds </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td> const -&gt; double</td>
</tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classCatch_1_1Timer_a065e37e3c9eb16bd4dcf41971d8deedc_cgraph.png" border="0" usemap="#aclassCatch_1_1Timer_a065e37e3c9eb16bd4dcf41971d8deedc_cgraph" alt=""/></div>
<map name="aclassCatch_1_1Timer_a065e37e3c9eb16bd4dcf41971d8deedc_cgraph" id="aclassCatch_1_1Timer_a065e37e3c9eb16bd4dcf41971d8deedc_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,189,50"/>
<area shape="rect" href="classCatch_1_1Timer.html#a545de17a61a6fee1dbe3de5b0723e5fa" title=" " alt="" coords="237,5,420,50"/>
<area shape="poly" title=" " alt="" coords="189,25,221,25,221,30,189,30"/>
<area shape="rect" href="classCatch_1_1Timer.html#a57be5d17ca868a2d6fb1eea84de665cf" title=" " alt="" coords="468,5,651,50"/>
<area shape="poly" title=" " alt="" coords="420,25,452,25,452,30,420,30"/>
</map>
</div>
</div>
</div>
<a id="a0a56e879e43f36c102bf9ea8b5fc8b72" name="a0a56e879e43f36c102bf9ea8b5fc8b72"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a56e879e43f36c102bf9ea8b5fc8b72">&#9670;&#160;</a></span>start()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Catch::Timer::start </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ac13c1ef867cc3b9f942032d5ed79c2a7" name="ac13c1ef867cc3b9f942032d5ed79c2a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac13c1ef867cc3b9f942032d5ed79c2a7">&#9670;&#160;</a></span>m_nanoseconds</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint64_t Catch::Timer::m_nanoseconds = 0</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>tests/vendor/<a class="el" href="catch__amalgamated_8hpp_source.html">catch_amalgamated.hpp</a></li>
<li>tests/vendor/<a class="el" href="catch__amalgamated_8cpp.html">catch_amalgamated.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceCatch.html">Catch</a></li><li class="navelem"><a class="el" href="classCatch_1_1Timer.html">Timer</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2 </li>
</ul>
</div>
</body>
</html>