|
xrpld
|
Dummy class for unit tests. More...
Classes | |
| class | PerfLog |
| Singleton class that maintains performance counters and optionally writes Json-formatted data to a distinct log. More... | |
| class | PerfLogTest |
| struct | Locked |
| A box coupling data with a mutex for locking access to it. More... | |
| class | PerfLogImp |
| Implementation class for PerfLog. More... | |
Functions | |
| PerfLog::Setup | setupPerfLog (Section const §ion, boost::filesystem::path const &configDir) |
| std::unique_ptr< PerfLog > | makePerfLog (PerfLog::Setup const &setup, Application &app, beast::Journal journal, std::function< void()> &&signalStop) |
| template<typename Func, class Rep, class Period> | |
| auto | measureDurationAndLog (Func &&func, std::string const &actionDescription, std::chrono::duration< Rep, Period > maxDelay, beast::Journal const &journal) |
Dummy class for unit tests.
| PerfLog::Setup xrpl::perf::setupPerfLog | ( | Section const & | section, |
| boost::filesystem::path const & | configDir ) |
Definition at line 478 of file PerfLogImp.cpp.
| std::unique_ptr< PerfLog > xrpl::perf::makePerfLog | ( | PerfLog::Setup const & | setup, |
| Application & | app, | ||
| beast::Journal | journal, | ||
| std::function< void()> && | signalStop ) |
Definition at line 499 of file PerfLogImp.cpp.
| auto xrpl::perf::measureDurationAndLog | ( | Func && | func, |
| std::string const & | actionDescription, | ||
| std::chrono::duration< Rep, Period > | maxDelay, | ||
| beast::Journal const & | journal ) |