|
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 144 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 153 of file Application.cpp.
| void xrpl::ApplicationImp::IOLatencySampler::start | ( | ) |
Definition at line 163 of file Application.cpp.
| void xrpl::ApplicationImp::IOLatencySampler::operator() | ( | Duration const & | elapsed | ) |
Definition at line 170 of file Application.cpp.
|
nodiscard |
Definition at line 186 of file Application.cpp.
| void xrpl::ApplicationImp::IOLatencySampler::cancel | ( | ) |
Definition at line 192 of file Application.cpp.
| void xrpl::ApplicationImp::IOLatencySampler::cancelAsync | ( | ) |
Definition at line 198 of file Application.cpp.
|
private |
Definition at line 147 of file Application.cpp.
|
private |
Definition at line 148 of file Application.cpp.
|
private |
Definition at line 149 of file Application.cpp.
|
private |
Definition at line 150 of file Application.cpp.