aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/IProfilingService.hpp
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2020-02-14 10:18:08 +0000
committerJim Flynn <jim.flynn@arm.com>2020-02-16 13:37:52 +0000
commit640635528c5236458a05f970391894adf0a515d0 (patch)
tree0559eb6e0b2b34f6a314f2cc79acb8b3e189467a /src/profiling/IProfilingService.hpp
parenta856501ac5c2d0cca70068993e5c7cc714872890 (diff)
downloadarmnn-640635528c5236458a05f970391894adf0a515d0.tar.gz
IVGCVSW-4320 Implement ReportCounters in BackendProfiling
Change-Id: Idd545079f6331bb4241709fa1534635f3fdf610b Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/IProfilingService.hpp')
-rw-r--r--src/profiling/IProfilingService.hpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/profiling/IProfilingService.hpp b/src/profiling/IProfilingService.hpp
new file mode 100644
index 0000000000..7f3ff70062
--- /dev/null
+++ b/src/profiling/IProfilingService.hpp
@@ -0,0 +1,33 @@
+//
+// Copyright © 2020 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#pragma once
+
+#include "CounterIdMap.hpp"
+#include "Holder.hpp"
+#include "ISendCounterPacket.hpp"
+#include "ProfilingGuidGenerator.hpp"
+
+namespace armnn
+{
+
+namespace profiling
+{
+
+class IProfilingService : public IProfilingGuidGenerator
+{
+public:
+ virtual ~IProfilingService() {};
+ virtual std::unique_ptr<ISendTimelinePacket> GetSendTimelinePacket() const = 0;
+ virtual const ICounterMappings& GetCounterMappings() const = 0;
+ virtual ISendCounterPacket& GetSendCounterPacket() = 0;
+ virtual bool IsProfilingEnabled() const = 0;
+ virtual CaptureData GetCaptureData() = 0;
+};
+
+} // namespace profiling
+
+} // namespace armnn
+