Files
rippled/structio__latency__probe__test_1_1test__sampler.html
2025-08-27 02:38:02 -07:00

253 lines
14 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.9.8"/>
<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 id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<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" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(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">
<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 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="#aio__latency__probe__test_1_1test__sampler_coll__map" alt="Collaboration graph"/></div>
<map name="aio__latency__probe__test_1_1test__sampler_coll__map" id="aio__latency__probe__test_1_1test__sampler_coll__map">
<area shape="rect" title=" " alt="" coords="635,97,800,137"/>
<area shape="rect" href="classbeast_1_1io__latency__probe.html" title=" " alt="" coords="329,40,506,95"/>
<area shape="poly" title=" " alt="" coords="520,81,635,101,634,106,519,87"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title=" " alt="" coords="27,5,185,31"/>
<area shape="poly" title=" " alt="" coords="199,29,298,45,329,50,328,55,297,50,199,35"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/condition_variable_any.html" title=" " alt="" coords="5,55,207,80"/>
<area shape="poly" title=" " alt="" coords="220,65,328,65,328,70,220,70"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="62,104,150,129"/>
<area shape="poly" title=" " alt="" coords="163,106,297,85,328,80,329,85,298,90,164,111"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="321,119,513,159"/>
<area shape="poly" title=" " alt="" coords="527,128,634,120,635,126,527,134"/>
</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 id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa8bc997fb94cba100e9b7c76f853d1bb" id="r_aa8bc997fb94cba100e9b7c76f853d1bb"><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#aa8bc997fb94cba100e9b7c76f853d1bb">test_sampler</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a> interval, boost::asio::io_context &amp;ios)</td></tr>
<tr class="separator:aa8bc997fb94cba100e9b7c76f853d1bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42b431a7b398eb4805857f209d986087" id="r_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" id="r_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" id="r_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 id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a30a9263b73b5f97bf68a0d5333558687" id="r_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" id="r_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#l00134">134</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="aa8bc997fb94cba100e9b7c76f853d1bb" name="aa8bc997fb94cba100e9b7c76f853d1bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8bc997fb94cba100e9b7c76f853d1bb">&#9670;&#160;</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_context &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#l00139">139</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" name="a42b431a7b398eb4805857f209d986087"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42b431a7b398eb4805857f209d986087">&#9670;&#160;</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#l00147">147</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" name="a4b4fa51813d8830f2a1f5cc52357fdf7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b4fa51813d8830f2a1f5cc52357fdf7">&#9670;&#160;</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#l00153">153</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" name="a01b7b803a3e01556603ae29217f1012c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01b7b803a3e01556603ae29217f1012c">&#9670;&#160;</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#l00159">159</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" name="a30a9263b73b5f97bf68a0d5333558687"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30a9263b73b5f97bf68a0d5333558687">&#9670;&#160;</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#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>
<a id="a3f22012fa788861cb0444706a9df1869" name="a3f22012fa788861cb0444706a9df1869"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f22012fa788861cb0444706a9df1869">&#9670;&#160;</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#l00137">137</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="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>