| 40 | class Measure final : public Module { |
| 41 | public: |
| 42 | Measure(uint64_t ns_per_bucket = 1, uint64_t max_ns = 0) |
| 43 | : Module(), |
| 44 | rtt_hist_(max_ns / ns_per_bucket, ns_per_bucket), |
| 45 | jitter_hist_(max_ns / ns_per_bucket, ns_per_bucket), |
| 46 | rand_(), |
| 47 | jitter_sample_prob_(), |
| 48 | last_rtt_ns_(), |
| 49 | offset_(), |
| 50 | pkt_cnt_(), |
| 51 | bytes_cnt_() { |
| 52 | max_allowed_workers_ = Worker::kMaxWorkers; |
| 53 | } |
| 54 | |
| 55 | CommandResponse Init(const bess::pb::MeasureArg &arg); |
| 56 |
nothing calls this directly
no outgoing calls
no test coverage detected