|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
Performance alert event. More...
#include <event_bus.h>


Public Types | |
| enum class | severity { info , warning , critical } |
Public Member Functions | |
| performance_alert_event (severity lvl, std::string msg, double value) | |
| std::string | type_name () const override |
| Get event type name. | |
Public Member Functions inherited from kcenon::thread::event_base | |
| virtual | ~event_base ()=default |
| std::chrono::steady_clock::time_point | timestamp () const |
| Get event timestamp. | |
Public Attributes | |
| severity | level |
| std::string | message |
| double | metric_value |
Additional Inherited Members | |
Protected Attributes inherited from kcenon::thread::event_base | |
| std::chrono::steady_clock::time_point | timestamp_ {std::chrono::steady_clock::now()} |
Performance alert event.
Definition at line 332 of file event_bus.h.
|
strong |
| Enumerator | |
|---|---|
| info | |
| warning | |
| critical | |
Definition at line 333 of file event_bus.h.
|
inline |
Definition at line 339 of file event_bus.h.
|
inlineoverridevirtual |
Get event type name.
Implements kcenon::thread::event_base.
Definition at line 342 of file event_bus.h.
| severity kcenon::thread::performance_alert_event::level |
Definition at line 335 of file event_bus.h.
| std::string kcenon::thread::performance_alert_event::message |
Definition at line 336 of file event_bus.h.
| double kcenon::thread::performance_alert_event::metric_value |
Definition at line 337 of file event_bus.h.