aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAron Virginas-Tar <Aron.Virginas-Tar@arm.com>2019-08-23 15:18:44 +0100
committerAron Virginas-Tar <Aron.Virginas-Tar@arm.com>2019-08-23 15:19:33 +0100
commit1a0f691a24b1514afe4d3ea6e1322357083af526 (patch)
treeb65317c876991eac63e80fc9d026a7e5dc6b6281 /include
parent4e5fc1fb6c74fa6e4dcb24639db8fafd69a0a065 (diff)
downloadarmnn-1a0f691a24b1514afe4d3ea6e1322357083af526.tar.gz
IVGCVSW-3441 Create IProfilingConnection and ProfilingConnectionFactory
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I912312f31d4fd82b23bafe8e3ec461b179f3e97a
Diffstat (limited to 'include')
-rw-r--r--include/armnn/IRuntime.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/armnn/IRuntime.hpp b/include/armnn/IRuntime.hpp
index 3f3c998f3a..41e1c47c5c 100644
--- a/include/armnn/IRuntime.hpp
+++ b/include/armnn/IRuntime.hpp
@@ -44,6 +44,23 @@ public:
// Setting this value will override the paths set by the DYNAMIC_BACKEND_PATHS compiler directive
// Only a single path is allowed for the override
std::string m_DynamicBackendsPath;
+
+ struct ExternalProfilingOptions
+ {
+ ExternalProfilingOptions()
+ : m_EnableProfiling(false)
+ , m_OutgoingCaptureFile("")
+ , m_IncomingCaptureFile("")
+ , m_FileOnly(false)
+ , m_CapturePeriod(150u)
+ {}
+
+ bool m_EnableProfiling;
+ std::string m_OutgoingCaptureFile;
+ std::string m_IncomingCaptureFile;
+ bool m_FileOnly;
+ uint32_t m_CapturePeriod;
+ };
};
static IRuntime* CreateRaw(const CreationOptions& options);