DiffEq - Modern C++ ODE Integration Library 1.0.0
High-performance C++ library for solving ODEs with async signal processing
Loading...
Searching...
No Matches
diffeq::core::composable::EventStats Struct Reference

Event statistics. More...

#include <event_decorator.hpp>

Public Member Functions

double average_processing_time_us () const
 
double event_success_rate () const
 
double timeout_rate () const
 

Public Attributes

size_t total_events {0}
 
size_t processed_events {0}
 
size_t timed_out_events {0}
 
size_t high_priority_events {0}
 
size_t control_feedback_events {0}
 
size_t sensor_events {0}
 
std::chrono::microseconds total_processing_time {0}
 
std::chrono::microseconds max_processing_time {0}
 
std::chrono::microseconds min_processing_time {std::chrono::microseconds::max()}
 

Detailed Description

Event statistics.

Definition at line 192 of file event_decorator.hpp.

Member Function Documentation

◆ average_processing_time_us()

double diffeq::core::composable::EventStats::average_processing_time_us ( ) const
inline

Definition at line 203 of file event_decorator.hpp.

◆ event_success_rate()

double diffeq::core::composable::EventStats::event_success_rate ( ) const
inline

Definition at line 208 of file event_decorator.hpp.

◆ timeout_rate()

double diffeq::core::composable::EventStats::timeout_rate ( ) const
inline

Definition at line 213 of file event_decorator.hpp.

Member Data Documentation

◆ control_feedback_events

size_t diffeq::core::composable::EventStats::control_feedback_events {0}

Definition at line 197 of file event_decorator.hpp.

◆ high_priority_events

size_t diffeq::core::composable::EventStats::high_priority_events {0}

Definition at line 196 of file event_decorator.hpp.

◆ max_processing_time

std::chrono::microseconds diffeq::core::composable::EventStats::max_processing_time {0}

Definition at line 200 of file event_decorator.hpp.

◆ min_processing_time

std::chrono::microseconds diffeq::core::composable::EventStats::min_processing_time {std::chrono::microseconds::max()}

Definition at line 201 of file event_decorator.hpp.

◆ processed_events

size_t diffeq::core::composable::EventStats::processed_events {0}

Definition at line 194 of file event_decorator.hpp.

◆ sensor_events

size_t diffeq::core::composable::EventStats::sensor_events {0}

Definition at line 198 of file event_decorator.hpp.

◆ timed_out_events

size_t diffeq::core::composable::EventStats::timed_out_events {0}

Definition at line 195 of file event_decorator.hpp.

◆ total_events

size_t diffeq::core::composable::EventStats::total_events {0}

Definition at line 193 of file event_decorator.hpp.

◆ total_processing_time

std::chrono::microseconds diffeq::core::composable::EventStats::total_processing_time {0}

Definition at line 199 of file event_decorator.hpp.


The documentation for this struct was generated from the following file: