From 1a0f691a24b1514afe4d3ea6e1322357083af526 Mon Sep 17 00:00:00 2001 From: Aron Virginas-Tar Date: Fri, 23 Aug 2019 15:18:44 +0100 Subject: IVGCVSW-3441 Create IProfilingConnection and ProfilingConnectionFactory Signed-off-by: Aron Virginas-Tar Change-Id: I912312f31d4fd82b23bafe8e3ec461b179f3e97a --- include/armnn/IRuntime.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'include') 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); -- cgit v1.2.1