libcaf
0.16.3
|
Stores statistics for measuring complexity of incoming batches. More...
#include <inbound_path.hpp>
Classes | |
struct | calculation_result |
Wraps the resulf of stats_t::calculate() . More... | |
struct | measurement |
Wraps a time measurement for a single processed batch. More... | |
Public Member Functions | |
calculation_result | calculate (timespan cycle, timespan desired_complexity) |
Returns the maximum number of items this actor could handle for given cycle length with a minimum of 1. | |
void | store (measurement x) |
Stores a new measurement in the ring buffer. | |
Public Attributes | |
std::vector< measurement > | measurements |
Stores stats_sampling_size measurements in a ring. | |
size_t | ring_iter |
Current position in measurements | |
Stores statistics for measuring complexity of incoming batches.