|
Hermes 0.7.0
Linux game streaming host
|
Aggregate reconnection/termination stats for diagnostics. More...
#include <src/stream.h>
Public Attributes | |
| termination_reason_e | last_reason {termination_reason_e::UNKNOWN} |
| uint64_t | ms_since_last_end {0} |
| Steady-clock ms since the last session ended; 0 if none has ended yet. | |
| uint64_t | total_ended {0} |
| Sessions that have ended this run. | |
| uint64_t | client_lost_count {0} |
| Of those, ended by client loss (drops). | |
Aggregate reconnection/termination stats for diagnostics.
Lets the UI distinguish "a client just dropped" from "the last session ended cleanly a while ago", and surface how often clients are dropping (a network-quality signal) without scraping logs.
| uint64_t stream::session::termination_stats_t::client_lost_count {0} |
| termination_reason_e stream::session::termination_stats_t::last_reason {termination_reason_e::UNKNOWN} |
| uint64_t stream::session::termination_stats_t::ms_since_last_end {0} |
| uint64_t stream::session::termination_stats_t::total_ended {0} |