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

Method CleanTaskGraph

core/module_graph.cc:223–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223void ModuleGraph::CleanTaskGraph() {
224 for (auto const &task : tasks_) {
225 auto it = all_modules_.find(task);
226 if (it != all_modules_.end()) {
227 it->second->ClearParentTasks();
228 }
229 }
230}
231
232const std::map<std::string, Module *> &ModuleGraph::GetAllModules() {
233 return all_modules_;

Callers

nothing calls this directly

Calls 2

ClearParentTasksMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected