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

Method UpdatePerGateBatch

core/task.h:148–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146 }
147
148 void UpdatePerGateBatch(uint32_t gate_cnt) const {
149 if (gate_batch_.size() < gate_cnt) {
150 gate_batch_.resize(gate_cnt, nullptr);
151 }
152 }
153
154 void ClearPacketBatch() const { pbatch_idx_ = 0; }
155

Callers 1

ConfigureTasksMethod · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected