userver: congestion_control::Stats Struct Reference
Loading...
Searching...
No Matches
congestion_control::Stats Struct Referencefinal

Detailed Description

Definition at line 30 of file controller.hpp.

Public Attributes

std::atomic< size_t > no_limit {0}
 
std::atomic< size_t > not_overload_no_pressure {0}
 
std::atomic< size_t > not_overload_pressure {0}
 
std::atomic< size_t > overload_no_pressure {0}
 
std::atomic< size_t > overload_pressure {0}
 
std::atomic< size_t > current_state {0}
 
std::atomic< std::chrono::seconds > last_overload_pressure
 

Member Data Documentation

◆ current_state

std::atomic<size_t> congestion_control::Stats::current_state {0}

Definition at line 37 of file controller.hpp.

◆ last_overload_pressure

std::atomic<std::chrono::seconds> congestion_control::Stats::last_overload_pressure
Initial value:
{
std::chrono::duration_cast<std::chrono::seconds>(
std::chrono::steady_clock::now().time_since_epoch()) -
std::chrono::hours(1)}

Definition at line 38 of file controller.hpp.

◆ no_limit

std::atomic<size_t> congestion_control::Stats::no_limit {0}

Definition at line 31 of file controller.hpp.

◆ not_overload_no_pressure

std::atomic<size_t> congestion_control::Stats::not_overload_no_pressure {0}

Definition at line 32 of file controller.hpp.

◆ not_overload_pressure

std::atomic<size_t> congestion_control::Stats::not_overload_pressure {0}

Definition at line 33 of file controller.hpp.

◆ overload_no_pressure

std::atomic<size_t> congestion_control::Stats::overload_no_pressure {0}

Definition at line 34 of file controller.hpp.

◆ overload_pressure

std::atomic<size_t> congestion_control::Stats::overload_pressure {0}

Definition at line 35 of file controller.hpp.


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