From 2bfb9e24500bcb8473f1133efa7dd913fadef137 Mon Sep 17 00:00:00 2001 From: Daniel Krebs Date: Tue, 15 May 2018 15:12:17 +0200 Subject: [PATCH] common/memory: expose method to dump memory graph to file --- fpga/include/villas/memory_manager.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fpga/include/villas/memory_manager.hpp b/fpga/include/villas/memory_manager.hpp index 387f5c0a2..555baa694 100644 --- a/fpga/include/villas/memory_manager.hpp +++ b/fpga/include/villas/memory_manager.hpp @@ -218,6 +218,9 @@ public: dump() { memoryGraph.dump(); } + void + dumpToFile(const std::string& fileName) + { memoryGraph.dump(fileName); } private: /// Convert a Mapping to MemoryTranslation for calculations