aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/backends/BackendProfiling.hpp
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2022-03-23 23:01:26 +0000
committerJim Flynn <jim.flynn@arm.com>2022-03-23 23:43:35 +0000
commit3e9bc19ad523361e6b18057849e30c0c48183915 (patch)
treeb7b012a9734ce39d054fc5d92302780fd838e5c8 /src/profiling/backends/BackendProfiling.hpp
parent277618302d0f131eac0b6ac2015dd3eb09aa6ff9 (diff)
downloadarmnn-3e9bc19ad523361e6b18057849e30c0c48183915.tar.gz
IVGCVSW-6706 Create the libpipeClient library
Change-Id: I2368aade38ad3808fab55d8a86cd659d4e95d91e Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/backends/BackendProfiling.hpp')
-rw-r--r--src/profiling/backends/BackendProfiling.hpp54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/profiling/backends/BackendProfiling.hpp b/src/profiling/backends/BackendProfiling.hpp
deleted file mode 100644
index 8ca88d2012..0000000000
--- a/src/profiling/backends/BackendProfiling.hpp
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-// Copyright © 2020 Arm Ltd. All rights reserved.
-// SPDX-License-Identifier: MIT
-//
-
-#pragma once
-
-#include "ProfilingService.hpp"
-
-#include <client/include/backends/IBackendProfiling.hpp>
-
-namespace arm
-{
-
-namespace pipe
-{
-
-class BackendProfiling : public IBackendProfiling
-{
-public:
- BackendProfiling(const ProfilingOptions& options,
- IProfilingService& profilingService,
- const std::string& backendId)
- : m_Options(options),
- m_ProfilingService(profilingService),
- m_BackendId(backendId) {}
-
- ~BackendProfiling()
- {}
-
- std::unique_ptr<IRegisterBackendCounters>
- GetCounterRegistrationInterface(uint16_t currentMaxGlobalCounterID) override;
-
- std::unique_ptr<ISendTimelinePacket> GetSendTimelinePacket() override;
-
- IProfilingGuidGenerator& GetProfilingGuidGenerator() override;
-
- void ReportCounters(const std::vector<Timestamp>&) override;
-
- CounterStatus GetCounterStatus(uint16_t backendCounterId) override;
-
- std::vector<CounterStatus> GetActiveCounters() override;
-
- bool IsProfilingEnabled() const override;
-
-private:
- ProfilingOptions m_Options;
- IProfilingService& m_ProfilingService;
- std::string m_BackendId;
-};
-
-} // namespace pipe
-
-} // namespace arm