aboutsummaryrefslogtreecommitdiff
path: root/Utils.hpp
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2019-12-16 11:50:29 +0000
committerJim Flynn <jim.flynn@arm.com>2019-12-16 16:58:07 +0000
commit14557e71d55e8d26d8c7f3e3912979b54e6e86ba (patch)
treece3fd2f12fce2f662f401be46ea5f958165c95cf /Utils.hpp
parent4d3a24bc3a4900db8a647881b0b3a7a6bf387751 (diff)
downloadandroid-nn-driver-14557e71d55e8d26d8c7f3e3912979b54e6e86ba.tar.gz
IVGCVSW-4271 Add getSupportedOperations marker file
* Also fix segfault in previous graph dump code Change-Id: I01915f47ae17d89ad3595430d073a17b1a1fda58 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'Utils.hpp')
-rw-r--r--Utils.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/Utils.hpp b/Utils.hpp
index bfda6a66..c5a2e650 100644
--- a/Utils.hpp
+++ b/Utils.hpp
@@ -104,11 +104,14 @@ void DumpJsonProfilingIfRequired(bool gpuProfilingEnabled,
armnn::NetworkId networkId,
const armnn::IProfiler* profiler);
-void ExportNetworkGraphToDotFile(const armnn::IOptimizedNetwork& optimizedNetwork,
- const std::string& dumpDir,
- const armnn::NetworkId networkId);
+std::string ExportNetworkGraphToDotFile(const armnn::IOptimizedNetwork& optimizedNetwork,
+ const std::string& dumpDir);
+
+void RenameGraphDotFile(const std::string& oldName, const std::string& dumpDir, const armnn::NetworkId networkId);
/// Checks if a tensor info represents a dynamic tensor
bool IsDynamicTensor(const armnn::TensorInfo& outputInfo);
+std::string GetFileTimestamp();
+
} // namespace armnn_driver