Files
rippled/structio__latency__probe__test_1_1test__sampler.html
2021-03-12 22:34:28 +00:00

243 lines
13 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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: io_latency_probe_test::test_sampler Struct 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>
<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>
<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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- 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">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="classio__latency__probe__test.html">io_latency_probe_test</a></li><li class="navelem"><a class="el" href="structio__latency__probe__test_1_1test__sampler.html">test_sampler</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structio__latency__probe__test_1_1test__sampler-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">io_latency_probe_test::test_sampler Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for io_latency_probe_test::test_sampler:</div>
<div class="dyncontent">
<div class="center"><img src="structio__latency__probe__test_1_1test__sampler__coll__graph.png" border="0" usemap="#io__latency__probe__test_1_1test__sampler_coll__map" alt="Collaboration graph"/></div>
<map name="io__latency__probe__test_1_1test__sampler_coll__map" id="io__latency__probe__test_1_1test__sampler_coll__map">
<area shape="rect" title=" " alt="" coords="635,99,800,141"/>
<area shape="rect" href="classbeast_1_1io__latency__probe.html" title=" " alt="" coords="329,41,506,97"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title="STL class." alt="" coords="27,5,185,32"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="62,56,150,83"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/condition_variable_any.html" title=" " alt="" coords="5,107,207,133"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="321,122,513,163"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a18c959012e533188f520b188aa68978a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structio__latency__probe__test_1_1test__sampler.html#a18c959012e533188f520b188aa68978a">test_sampler</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a> interval, boost::asio::io_service &amp;ios)</td></tr>
<tr class="separator:a18c959012e533188f520b188aa68978a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42b431a7b398eb4805857f209d986087"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structio__latency__probe__test_1_1test__sampler.html#a42b431a7b398eb4805857f209d986087">start</a> ()</td></tr>
<tr class="separator:a42b431a7b398eb4805857f209d986087"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b4fa51813d8830f2a1f5cc52357fdf7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structio__latency__probe__test_1_1test__sampler.html#a4b4fa51813d8830f2a1f5cc52357fdf7">start_one</a> ()</td></tr>
<tr class="separator:a4b4fa51813d8830f2a1f5cc52357fdf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01b7b803a3e01556603ae29217f1012c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structio__latency__probe__test_1_1test__sampler.html#a01b7b803a3e01556603ae29217f1012c">operator()</a> (std::chrono::steady_clock::duration const &amp;elapsed)</td></tr>
<tr class="separator:a01b7b803a3e01556603ae29217f1012c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a30a9263b73b5f97bf68a0d5333558687"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbeast_1_1io__latency__probe.html">beast::io_latency_probe</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/steady_clock.html">std::chrono::steady_clock</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structio__latency__probe__test_1_1test__sampler.html#a30a9263b73b5f97bf68a0d5333558687">probe_</a></td></tr>
<tr class="separator:a30a9263b73b5f97bf68a0d5333558687"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f22012fa788861cb0444706a9df1869"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; std::chrono::steady_clock::duration &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structio__latency__probe__test_1_1test__sampler.html#a3f22012fa788861cb0444706a9df1869">durations_</a></td></tr>
<tr class="separator:a3f22012fa788861cb0444706a9df1869"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="beast__io__latency__probe__test_8cpp_source.html#l00133">133</a> of file <a class="el" href="beast__io__latency__probe__test_8cpp_source.html">beast_io_latency_probe_test.cpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a18c959012e533188f520b188aa68978a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a18c959012e533188f520b188aa68978a">&#9670;&nbsp;</a></span>test_sampler()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">io_latency_probe_test::test_sampler::test_sampler </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a>&#160;</td>
<td class="paramname"><em>interval</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">boost::asio::io_service &amp;&#160;</td>
<td class="paramname"><em>ios</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="beast__io__latency__probe__test_8cpp_source.html#l00138">138</a> of file <a class="el" href="beast__io__latency__probe__test_8cpp_source.html">beast_io_latency_probe_test.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a42b431a7b398eb4805857f209d986087"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42b431a7b398eb4805857f209d986087">&#9670;&nbsp;</a></span>start()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void io_latency_probe_test::test_sampler::start </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="beast__io__latency__probe__test_8cpp_source.html#l00146">146</a> of file <a class="el" href="beast__io__latency__probe__test_8cpp_source.html">beast_io_latency_probe_test.cpp</a>.</p>
</div>
</div>
<a id="a4b4fa51813d8830f2a1f5cc52357fdf7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b4fa51813d8830f2a1f5cc52357fdf7">&#9670;&nbsp;</a></span>start_one()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void io_latency_probe_test::test_sampler::start_one </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="beast__io__latency__probe__test_8cpp_source.html#l00152">152</a> of file <a class="el" href="beast__io__latency__probe__test_8cpp_source.html">beast_io_latency_probe_test.cpp</a>.</p>
</div>
</div>
<a id="a01b7b803a3e01556603ae29217f1012c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01b7b803a3e01556603ae29217f1012c">&#9670;&nbsp;</a></span>operator()()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void io_latency_probe_test::test_sampler::operator() </td>
<td>(</td>
<td class="paramtype">std::chrono::steady_clock::duration const &amp;&#160;</td>
<td class="paramname"><em>elapsed</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="beast__io__latency__probe__test_8cpp_source.html#l00158">158</a> of file <a class="el" href="beast__io__latency__probe__test_8cpp_source.html">beast_io_latency_probe_test.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a30a9263b73b5f97bf68a0d5333558687"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30a9263b73b5f97bf68a0d5333558687">&#9670;&nbsp;</a></span>probe_</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classbeast_1_1io__latency__probe.html">beast::io_latency_probe</a>&lt;<a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/steady_clock.html">std::chrono::steady_clock</a>&gt; io_latency_probe_test::test_sampler::probe_</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="beast__io__latency__probe__test_8cpp_source.html#l00135">135</a> of file <a class="el" href="beast__io__latency__probe__test_8cpp_source.html">beast_io_latency_probe_test.cpp</a>.</p>
</div>
</div>
<a id="a3f22012fa788861cb0444706a9df1869"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f22012fa788861cb0444706a9df1869">&#9670;&nbsp;</a></span>durations_</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt;std::chrono::steady_clock::duration&gt; io_latency_probe_test::test_sampler::durations_</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="beast__io__latency__probe__test_8cpp_source.html#l00136">136</a> of file <a class="el" href="beast__io__latency__probe__test_8cpp_source.html">beast_io_latency_probe_test.cpp</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>