|
rippled
|


Public Types | |
| using | steady_clock = std::chrono::steady_clock |
| using | system_clock = std::chrono::system_clock |
| using | steady_time_point = std::chrono::time_point< steady_clock > |
| using | system_time_point = std::chrono::time_point< system_clock > |
| using | seconds = std::chrono::seconds |
| using | milliseconds = std::chrono::milliseconds |
| using | microseconds = std::chrono::microseconds |
Public Member Functions | |
| virtual void | start () |
| virtual void | stop () |
| virtual void | jobStart (JobType const type, microseconds dur, steady_time_point startTime, int instance)=0 |
| Log job executing. | |
Private Member Functions | |
| void | rpcStart (std::string const &method, std::uint64_t requestId) override |
| Log start of RPC call. | |
| void | rpcFinish (std::string const &method, std::uint64_t requestId) override |
| Log successful finish of RPC call. | |
| void | rpcError (std::string const &method, std::uint64_t dur) override |
| Log errored RPC call. | |
| void | jobQueue (JobType const type) override |
| Log queued job. | |
| void | jobStart (JobType const type, std::chrono::microseconds dur, std::chrono::time_point< std::chrono::steady_clock > startTime, int instance) override |
| void | jobFinish (JobType const type, std::chrono::microseconds dur, int instance) override |
| Log job finishing. | |
| Json::Value | countersJson () const override |
| Render performance counters in Json. | |
| Json::Value | currentJson () const override |
| Render currently executing jobs and RPC calls and durations in Json. | |
| void | resizeJobs (int const resize) override |
| Ensure enough room to store each currently executing job. | |
| void | rotate () override |
| Rotate perf log file. | |
Definition at line 21 of file Workers_test.cpp.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
overrideprivatevirtual |
Log start of RPC call.
| method | RPC command |
| requestId | Unique identifier to track command |
Implements ripple::perf::PerfLog.
Definition at line 24 of file Workers_test.cpp.
|
overrideprivatevirtual |
Log successful finish of RPC call.
| method | RPC command |
| requestId | Unique identifier to track command |
Implements ripple::perf::PerfLog.
Definition at line 29 of file Workers_test.cpp.
|
overrideprivatevirtual |
Log errored RPC call.
| method | RPC command |
| requestId | Unique identifier to track command |
Implements ripple::perf::PerfLog.
Definition at line 34 of file Workers_test.cpp.
|
overrideprivatevirtual |
Log queued job.
| type | Job type |
Implements ripple::perf::PerfLog.
Definition at line 39 of file Workers_test.cpp.
|
overrideprivate |
Definition at line 44 of file Workers_test.cpp.
|
overrideprivatevirtual |
Log job finishing.
| type | Job type |
| dur | Duration running in microseconds |
| instance | Jobqueue worker thread instance |
Implements ripple::perf::PerfLog.
Definition at line 53 of file Workers_test.cpp.
|
overrideprivatevirtual |
Render performance counters in Json.
Implements ripple::perf::PerfLog.
Definition at line 59 of file Workers_test.cpp.
|
overrideprivatevirtual |
Render currently executing jobs and RPC calls and durations in Json.
Implements ripple::perf::PerfLog.
Definition at line 65 of file Workers_test.cpp.
|
overrideprivatevirtual |
Ensure enough room to store each currently executing job.
Implements ripple::perf::PerfLog.
Definition at line 71 of file Workers_test.cpp.
|
overrideprivatevirtual |
Rotate perf log file.
Implements ripple::perf::PerfLog.
Definition at line 76 of file Workers_test.cpp.
|
virtualinherited |
Reimplemented in ripple::perf::PerfLogImp.
|
virtualinherited |
Reimplemented in ripple::perf::PerfLogImp.
|
pure virtualinherited |
Log job executing.
| type | Job type |
| dur | Duration enqueued in microseconds |
| startTime | Time that execution began |
| instance | JobQueue worker thread instance |
Implemented in ripple::perf::PerfLogImp.