| 268 | }; |
| 269 | |
| 270 | void dump_memory_flow(std::string filename, Profiler::bundle_t result) { |
| 271 | MemoryFlowVisitor visitor; |
| 272 | visitor.process_events(result); |
| 273 | debug::write_to_file(filename.c_str(), visitor.memory_flow.to_svg().to_string()); |
| 274 | } |
| 275 | |
| 276 | } // namespace mgb::imperative::profiler |
nothing calls this directly
no test coverage detected