![]() |
Ember
|
Individual performance metric data. More...
#include <PerformanceMonitor.h>
Public Member Functions | |
| MetricData (const wxString &n, const wxColour &c, const wxString &u="", size_t max_s=120) | |
| void | AddValue (float value) |
| float | GetAverage () const |
| void | Clear () |
Public Attributes | |
| wxString | name |
| std::deque< float > | values |
| wxColour | color |
| float | min_value |
| float | max_value |
| float | current_value |
| wxString | unit |
| size_t | max_samples |
Individual performance metric data.
Definition at line 18 of file PerformanceMonitor.h.
| EmberForge::MetricData::MetricData | ( | const wxString & | n, |
| const wxColour & | c, | ||
| const wxString & | u = "", | ||
| size_t | max_s = 120 ) |
Definition at line 21 of file PerformanceMonitor.cpp.
| void EmberForge::MetricData::AddValue | ( | float | value | ) |
Definition at line 24 of file PerformanceMonitor.cpp.
| void EmberForge::MetricData::Clear | ( | ) |
Definition at line 60 of file PerformanceMonitor.cpp.
| float EmberForge::MetricData::GetAverage | ( | ) | const |
Definition at line 49 of file PerformanceMonitor.cpp.
| wxColour EmberForge::MetricData::color |
Definition at line 21 of file PerformanceMonitor.h.
| float EmberForge::MetricData::current_value |
Definition at line 24 of file PerformanceMonitor.h.
| size_t EmberForge::MetricData::max_samples |
Definition at line 26 of file PerformanceMonitor.h.
| float EmberForge::MetricData::max_value |
Definition at line 23 of file PerformanceMonitor.h.
| float EmberForge::MetricData::min_value |
Definition at line 22 of file PerformanceMonitor.h.
| wxString EmberForge::MetricData::name |
Definition at line 19 of file PerformanceMonitor.h.
| wxString EmberForge::MetricData::unit |
Definition at line 25 of file PerformanceMonitor.h.
| std::deque<float> EmberForge::MetricData::values |
Definition at line 20 of file PerformanceMonitor.h.