aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/backends/BackendProfiling.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/backends/BackendProfiling.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/backends/BackendProfiling.hpp')
-rw-r--r--src/profiling/backends/BackendProfiling.hpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/profiling/backends/BackendProfiling.hpp b/src/profiling/backends/BackendProfiling.hpp
index e0e0f58e7d..c0f3eea978 100644
--- a/src/profiling/backends/BackendProfiling.hpp
+++ b/src/profiling/backends/BackendProfiling.hpp
@@ -5,7 +5,7 @@
#pragma once
-#include "ProfilingService.hpp"
+#include "IProfilingService.hpp"
#include <armnn/backends/profiling/IBackendProfiling.hpp>
namespace armnn
@@ -18,7 +18,7 @@ class BackendProfiling : public IBackendProfiling
{
public:
BackendProfiling(const IRuntime::CreationOptions& options,
- ProfilingService& profilingService,
+ IProfilingService& profilingService,
const BackendId& backendId)
: m_Options(options),
m_ProfilingService(profilingService),
@@ -34,8 +34,7 @@ public:
IProfilingGuidGenerator& GetProfilingGuidGenerator() override;
- void ReportCounters(const std::vector<Timestamp>&) override
- {}
+ void ReportCounters(const std::vector<Timestamp>&) override;
CounterStatus GetCounterStatus(uint16_t backendCounterId) override;
@@ -45,7 +44,7 @@ public:
private:
IRuntime::CreationOptions m_Options;
- ProfilingService& m_ProfilingService;
+ IProfilingService& m_ProfilingService;
BackendId m_BackendId;
};
} // namespace profiling