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

Method GetDesc

core/modules/queue.cc:135–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135std::string Queue::GetDesc() const {
136 const struct llring *ring = queue_;
137
138 return bess::utils::Format("%u/%u", llring_count(ring), ring->common.slots);
139}
140
141/* from upstream */
142void Queue::ProcessBatch(Context *, bess::PacketBatch *batch) {

Callers

nothing calls this directly

Calls 2

FormatFunction · 0.85
llring_countFunction · 0.85

Tested by

no test coverage detected