aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ISendThread.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/ISendThread.hpp')
-rw-r--r--src/profiling/ISendThread.hpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/profiling/ISendThread.hpp b/src/profiling/ISendThread.hpp
new file mode 100644
index 0000000000..c5e05b183c
--- /dev/null
+++ b/src/profiling/ISendThread.hpp
@@ -0,0 +1,31 @@
+//
+// Copyright © 2020 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#pragma once
+
+#include "IProfilingConnection.hpp"
+
+namespace armnn
+{
+
+namespace profiling
+{
+
+class ISendThread
+{
+public:
+ virtual ~ISendThread() {}
+
+ /// Start the thread
+ virtual void Start(IProfilingConnection& profilingConnection) = 0;
+
+ /// Stop the thread
+ virtual void Stop(bool rethrowSendThreadExceptions = true) = 0;
+};
+
+} // namespace profiling
+
+} // namespace armnn
+