libcaf  0.16.3
Classes | Public Member Functions | Public Attributes | List of all members
caf::inbound_path::stats_t Struct Reference

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< measurementmeasurements
 Stores stats_sampling_size measurements in a ring.
 
size_t ring_iter
 Current position in measurements
 

Detailed Description

Stores statistics for measuring complexity of incoming batches.


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