userver: congestion_control::Sensor::Data Struct Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
congestion_control::Sensor::Data Struct Reference

Detailed Description

Definition at line 15 of file sensor.hpp.

Public Member Functions

double GetLoadPercent () const
 

Public Attributes

std::uint64_t current_load {0}
 
std::uint64_t overload_events_count {0}
 
std::uint64_t no_overload_events_count {0}
 
std::chrono::steady_clock::time_point tp
 

Member Data Documentation

◆ current_load

std::uint64_t congestion_control::Sensor::Data::current_load {0}

Definition at line 16 of file sensor.hpp.

◆ no_overload_events_count

std::uint64_t congestion_control::Sensor::Data::no_overload_events_count {0}

Definition at line 18 of file sensor.hpp.

◆ overload_events_count

std::uint64_t congestion_control::Sensor::Data::overload_events_count {0}

Definition at line 17 of file sensor.hpp.

◆ tp

std::chrono::steady_clock::time_point congestion_control::Sensor::Data::tp

Definition at line 19 of file sensor.hpp.


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