IVGCVSW-3441 Create IProfilingConnection and ProfilingConnectionFactory
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Change-Id: I912312f31d4fd82b23bafe8e3ec461b179f3e97a
diff --git a/include/armnn/IRuntime.hpp b/include/armnn/IRuntime.hpp
index 3f3c998..41e1c47 100644
--- a/include/armnn/IRuntime.hpp
+++ b/include/armnn/IRuntime.hpp
@@ -44,6 +44,23 @@
// 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);