|
SObjectizer
5.8
|
Statistics of some activity. More...
#include <work_thread_activity.hpp>
Public Attributes | |
| std::uint_fast64_t | m_count {} |
| Count of events in that period of time. | |
| duration_t | m_total_time {} |
| Total time spent for events in that period of time. | |
| duration_t | m_avg_time {} |
| Average time for one event. | |
| std::optional< duration_t > | m_current_activity_time |
| duration_t so_5::stats::activity_stats_t::m_avg_time {} |
Average time for one event.
Definition at line 61 of file work_thread_activity.hpp.
| std::uint_fast64_t so_5::stats::activity_stats_t::m_count {} |
Count of events in that period of time.
Definition at line 55 of file work_thread_activity.hpp.
| std::optional< duration_t > so_5::stats::activity_stats_t::m_current_activity_time |
Duration of the current activity.
This value is defined only if the current activity is present. Otherwise it will be nullopt.
When it isn't nullopt it contains duration of the current activity. For example, the total execution time of the current event handler. If an instance of activity_stats_t describes waiting, then this field shows duration of the current waiting period.
Definition at line 75 of file work_thread_activity.hpp.
| duration_t so_5::stats::activity_stats_t::m_total_time {} |
Total time spent for events in that period of time.
Definition at line 58 of file work_thread_activity.hpp.