MCPcopy Create free account
hub / github.com/NetSys/bess / Measure

Method Measure

core/modules/measure.h:42–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40class 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected