|
xrpld
|

Public Member Functions | |
| IOLatencySampler (beast::insight::Event ev, beast::Journal journal, std::chrono::milliseconds interval, boost::asio::io_context &ios) | |
| void | start () |
| template<class Duration> | |
| void | operator() (Duration const &elapsed) |
| std::chrono::milliseconds | get () const |
| void | cancel () |
| void | cancelAsync () |
Private Attributes | |
| beast::insight::Event | event_ |
| beast::Journal | journal_ |
| beast::IOLatencyProbe< std::chrono::steady_clock > | probe_ |
| std::atomic< std::chrono::milliseconds > | lastSample_ |
Definition at line 146 of file Application.cpp.
| xrpl::ApplicationImp::IOLatencySampler::IOLatencySampler | ( | beast::insight::Event | ev, |
| beast::Journal | journal, | ||
| std::chrono::milliseconds | interval, | ||
| boost::asio::io_context & | ios ) |
Definition at line 155 of file Application.cpp.
| void xrpl::ApplicationImp::IOLatencySampler::start | ( | ) |
Definition at line 165 of file Application.cpp.
| void xrpl::ApplicationImp::IOLatencySampler::operator() | ( | Duration const & | elapsed | ) |
Definition at line 172 of file Application.cpp.
|
nodiscard |
Definition at line 188 of file Application.cpp.
| void xrpl::ApplicationImp::IOLatencySampler::cancel | ( | ) |
Definition at line 194 of file Application.cpp.
| void xrpl::ApplicationImp::IOLatencySampler::cancelAsync | ( | ) |
Definition at line 200 of file Application.cpp.
|
private |
Definition at line 149 of file Application.cpp.
|
private |
Definition at line 150 of file Application.cpp.
|
private |
Definition at line 151 of file Application.cpp.
|
private |
Definition at line 152 of file Application.cpp.