aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIsabella Gottardi <isabella.gottardi@arm.com>2020-03-11 18:04:20 +0000
committerIsabella Gottardi <isabella.gottardi@arm.com>2020-03-19 18:25:33 +0000
commita0687eef149fbf57bb6db0621ec65724f550b1ed (patch)
treeb11b19403f5e4117eecf315072375a5d3ea84647 /include
parentea54a01f6bd30f013cbe88ae1751985bc86b6af5 (diff)
downloadarmnn-a0687eef149fbf57bb6db0621ec65724f550b1ed.tar.gz
MLECO-755: ArmNN: Add file format external profiling option
* Added new m_FileFormat variable in ExternalProfilingOptions * Added new profiling option to ExecuteNetwork * Added check for file format in ProfilingConnectionFactory * Added test in profiling tests Change-Id: I0e9cb8ecac919dc0ed03dcf77324a65621f07ae7 Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
Diffstat (limited to 'include')
-rw-r--r--include/armnn/IRuntime.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/armnn/IRuntime.hpp b/include/armnn/IRuntime.hpp
index 712355bb3a..8391ed3b15 100644
--- a/include/armnn/IRuntime.hpp
+++ b/include/armnn/IRuntime.hpp
@@ -65,6 +65,7 @@ public:
, m_IncomingCaptureFile("")
, m_FileOnly(false)
, m_CapturePeriod(LOWEST_CAPTURE_PERIOD)
+ , m_FileFormat("binary")
{}
bool m_EnableProfiling;
@@ -72,6 +73,7 @@ public:
std::string m_IncomingCaptureFile;
bool m_FileOnly;
uint32_t m_CapturePeriod;
+ std::string m_FileFormat;
};
ExternalProfilingOptions m_ProfilingOptions;