|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Public Member Functions | |
| void | Record (uint32 value, uint32 slowThresholdMs=0) |
| void | Reset () |
| RuntimeSample () | |
| RuntimeSampleSnapshot | Snapshot () const |
Private Attributes | |
| std::atomic< uint32 > | _last |
| std::atomic< uint32 > | _maximum |
| std::atomic< uint64 > | _sampleCount |
| std::atomic< uint64 > | _slowSamples |
| std::atomic< uint64 > | _total |
Definition at line 95 of file RuntimeMetrics.h.
| Skyfire::Diagnostics::RuntimeMetrics::RuntimeSample::RuntimeSample | ( | ) |
Definition at line 46 of file RuntimeMetrics.cpp.
References _last, _maximum, _sampleCount, _slowSamples, and _total.
| void Skyfire::Diagnostics::RuntimeMetrics::RuntimeSample::Record | ( | uint32 | value, |
| uint32 | slowThresholdMs = 0 ) |
Definition at line 58 of file RuntimeMetrics.cpp.
References _last, _maximum, _sampleCount, _slowSamples, and _total.
| void Skyfire::Diagnostics::RuntimeMetrics::RuntimeSample::Reset | ( | ) |
Definition at line 49 of file RuntimeMetrics.cpp.
References _last, _maximum, _sampleCount, _slowSamples, and _total.
| RuntimeSampleSnapshot Skyfire::Diagnostics::RuntimeMetrics::RuntimeSample::Snapshot | ( | ) | const |
Definition at line 69 of file RuntimeMetrics.cpp.
References _last, _maximum, _sampleCount, _slowSamples, _total, Skyfire::Diagnostics::RuntimeSampleSnapshot::Average, Skyfire::Diagnostics::RuntimeSampleSnapshot::Last, Skyfire::Diagnostics::RuntimeSampleSnapshot::Maximum, Skyfire::Diagnostics::RuntimeSampleSnapshot::SampleCount, and Skyfire::Diagnostics::RuntimeSampleSnapshot::SlowSamples.
|
private |
Definition at line 108 of file RuntimeMetrics.h.
Referenced by Record(), Reset(), RuntimeSample(), and Snapshot().
|
private |
Definition at line 109 of file RuntimeMetrics.h.
Referenced by Record(), Reset(), RuntimeSample(), and Snapshot().
|
private |
Definition at line 105 of file RuntimeMetrics.h.
Referenced by Record(), Reset(), RuntimeSample(), and Snapshot().
|
private |
Definition at line 106 of file RuntimeMetrics.h.
Referenced by Record(), Reset(), RuntimeSample(), and Snapshot().
|
private |
Definition at line 107 of file RuntimeMetrics.h.
Referenced by Record(), Reset(), RuntimeSample(), and Snapshot().