MCPcopy Create free account
hub / github.com/alibaba/euler / ShowGraph

Method ShowGraph

euler/core/graph/graph.cc:459–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457}
458
459void Graph::ShowGraph() {
460 int32_t cnt = 0;
461 auto it = node_map_.begin();
462 while (it != node_map_.end()) {
463 if (cnt % 500000 == 0) {
464 std::string s;
465 if (it->second->Serialize(&s)) {
466 std::cout << s << std::endl;
467 }
468 }
469 ++cnt;
470 ++it;
471 }
472}
473
474bool Graph::Dump(euler::FileIO* file_io) const {
475 uint32_t size = node_map_.size();

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
SerializeMethod · 0.45

Tested by

no test coverage detected