diff options
author | Jim Flynn <jim.flynn@arm.com> | 2022-03-23 23:01:26 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2022-03-23 23:43:35 +0000 |
commit | 3e9bc19ad523361e6b18057849e30c0c48183915 (patch) | |
tree | b7b012a9734ce39d054fc5d92302780fd838e5c8 /src/profiling/IProfilingService.cpp | |
parent | 277618302d0f131eac0b6ac2015dd3eb09aa6ff9 (diff) | |
download | armnn-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/IProfilingService.cpp')
-rw-r--r-- | src/profiling/IProfilingService.cpp | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/src/profiling/IProfilingService.cpp b/src/profiling/IProfilingService.cpp deleted file mode 100644 index d147871e47..0000000000 --- a/src/profiling/IProfilingService.cpp +++ /dev/null @@ -1,60 +0,0 @@ -// -// Copyright © 2022 Arm Ltd and Contributors. All rights reserved. -// SPDX-License-Identifier: MIT -// - -#include "ProfilingService.hpp" - -#include <client/include/IProfilingService.hpp> - -namespace arm -{ - -namespace pipe -{ - -std::unique_ptr<IProfilingService> IProfilingService::CreateProfilingService( - uint16_t maxGlobalCounterId, - IInitialiseProfilingService& initialiser, - const std::string& softwareInfo, - const std::string& softwareVersion, - const std::string& hardwareVersion, - arm::pipe::Optional<IReportStructure&> reportStructure) -{ - return std::make_unique<ProfilingService>(maxGlobalCounterId, - initialiser, - softwareInfo, - softwareVersion, - hardwareVersion, - reportStructure); -} - -ProfilingGuidGenerator IProfilingService::m_GuidGenerator; - -ProfilingDynamicGuid IProfilingService::GetNextGuid() -{ - return m_GuidGenerator.NextGuid(); -} - -ProfilingStaticGuid IProfilingService::GetStaticId(const std::string& str) -{ - return m_GuidGenerator.GenerateStaticId(str); -} - -void IProfilingService::ResetGuidGenerator() -{ - m_GuidGenerator.Reset(); -} - -ProfilingDynamicGuid IProfilingService::NextGuid() -{ - return IProfilingService::GetNextGuid(); -} - -ProfilingStaticGuid IProfilingService::GenerateStaticId(const std::string& str) -{ - return IProfilingService::GetStaticId(str); -} - -} // namespace pipe -} // namespace arm |