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

Method IdentifySingleScopeComponent

core/metadata.cc:277–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277void Pipeline::IdentifySingleScopeComponent(Module *m,
278 const struct Attribute *attr) {
279 scope_components_.emplace_back();
280 IdentifyScopeComponent(m, attr);
281 scope_components_.back().set_scope_id(scope_components_.size());
282}
283
284void Pipeline::IdentifyScopeComponent(Module *m, const struct Attribute *attr) {
285 AddModuleToComponent(m, attr);

Callers

nothing calls this directly

Calls 2

set_scope_idMethod · 0.80
sizeMethod · 0.80

Tested by

no test coverage detected