Home
last modified time | relevance | path

Searched refs:profilingService (Results 1 – 25 of 25) sorted by relevance

/external/armnn/src/armnn/
DArmNNProfilingServiceInitialiser.cpp17 …ilingServiceInitialiser::InitialiseProfilingService(arm::pipe::IProfilingService& profilingService) in InitialiseProfilingService() argument
23 if (!profilingService.IsCategoryRegistered(ArmNN_Runtime)) in InitialiseProfilingService()
25 profilingService.GetCounterRegistry().RegisterCategory(ArmNN_Runtime); in InitialiseProfilingService()
31 if (!profilingService.IsCounterRegistered(networkLoads)) in InitialiseProfilingService()
34profilingService.GetCounterRegistry().RegisterCounter(armnn::profiling::BACKEND_ID.Get(), in InitialiseProfilingService()
44 profilingService.InitializeCounterValue(loadedNetworksCounter->m_Uid); in InitialiseProfilingService()
48 if (!profilingService.IsCounterRegistered(networkUnloads)) in InitialiseProfilingService()
51profilingService.GetCounterRegistry().RegisterCounter(armnn::profiling::BACKEND_ID.Get(), in InitialiseProfilingService()
61 profilingService.InitializeCounterValue(unloadedNetworksCounter->m_Uid); in InitialiseProfilingService()
66 if (!profilingService.IsCounterRegistered(backendsRegistered)) in InitialiseProfilingService()
[all …]
DLoadedNetwork.hpp82 … arm::pipe::IProfilingService* profilingService);
93 void SendNetworkStructure(arm::pipe::IProfilingService& profilingService);
120 arm::pipe::IProfilingService* profilingService);
DBackendRegistry.cpp107 …ckendRegistry::SetProfilingService(armnn::Optional<arm::pipe::IProfilingService&> profilingService) in SetProfilingService() argument
109 m_ProfilingService = profilingService; in SetProfilingService()
DRuntime.hpp113 void ReportStructure(arm::pipe::IProfilingService& profilingService) override;
115 void InitialiseProfilingService(arm::pipe::IProfilingService& profilingService) override;
DArmNNProfilingServiceInitialiser.hpp17 void InitialiseProfilingService(arm::pipe::IProfilingService& profilingService) override;
DRuntime.cpp302 void RuntimeImpl::ReportStructure(arm::pipe::IProfilingService& profilingService) in ReportStructure() argument
304 if (profilingService.IsProfilingEnabled()) in ReportStructure()
310 loadedNetwork->SendNetworkStructure(profilingService); in ReportStructure()
317 void RuntimeImpl::InitialiseProfilingService(arm::pipe::IProfilingService& profilingService) in InitialiseProfilingService() argument
320 initialiser.InitialiseProfilingService(profilingService); in InitialiseProfilingService()
DLoadedNetwork.cpp173 … arm::pipe::IProfilingService* profilingService) in MakeLoadedNetwork() argument
187 loadedNetwork.reset(new LoadedNetwork(std::move(net), networkProperties, profilingService)); in MakeLoadedNetwork()
207 arm::pipe::IProfilingService* profilingService) : in LoadedNetwork() argument
211 m_ProfilingService(profilingService) in LoadedNetwork()
654 void LoadedNetwork::SendNetworkStructure(arm::pipe::IProfilingService& profilingService) in SendNetworkStructure() argument
661 TimelineUtilityMethods::GetTimelineUtils(profilingService); in SendNetworkStructure()
/external/armnn/src/profiling/test/
DProfilingTests.cpp668 ProfilingService profilingService(arm::pipe::MAX_ARMNN_COUNTER,
673 profilingService.ResetExternalProfilingOptions(options, true);
674 CHECK(profilingService.GetCurrentState() == ProfilingState::Uninitialised);
675 profilingService.Update();
676 CHECK(profilingService.GetCurrentState() == ProfilingState::Uninitialised);
683 ProfilingService profilingService(arm::pipe::MAX_ARMNN_COUNTER,
688 profilingService.ResetExternalProfilingOptions(options, true);
690 const ICounterDirectory& counterDirectory0 = profilingService.GetCounterDirectory();
692 profilingService.Update();
696 profilingService.ResetExternalProfilingOptions(options);
[all …]
DTimelineUtilityMethodsTests.cpp33 ProfilingService profilingService(arm::pipe::MAX_ARMNN_COUNTER,
43 profilingService.NextGuid();
88 ProfilingService profilingService(arm::pipe::MAX_ARMNN_COUNTER,
220 ProfilingService profilingService(arm::pipe::MAX_ARMNN_COUNTER,
234 profilingService.NextGuid();
312 ProfilingService profilingService(arm::pipe::MAX_ARMNN_COUNTER,
321 profilingService.NextGuid();
346 ProfilingService profilingService(arm::pipe::MAX_ARMNN_COUNTER,
360 ProfilingDynamicGuid guid = profilingService.NextGuid();
376 ProfilingService profilingService(arm::pipe::MAX_ARMNN_COUNTER,
[all …]
DSendTimelinePacketTests.cpp439 ProfilingService profilingService(arm::pipe::MAX_ARMNN_COUNTER,
446 profilingService.ResetExternalProfilingOptions(
448 ProfilingStaticGuid staticGuid = profilingService.GetStaticId("dummy");
453 ProfilingDynamicGuid dynamicGuid = profilingService.GetNextGuid();
457 dynamicGuid = profilingService.GetNextGuid();
468 ProfilingService profilingService(arm::pipe::MAX_ARMNN_COUNTER,
473 profilingService.ResetExternalProfilingOptions(options, true);
475 std::unique_ptr<ISendTimelinePacket> writer = profilingService.GetSendTimelinePacket();
DProfilingTestUtils.hpp79 arm::pipe::IProfilingService& profilingService) in ProfilingServiceRuntimeHelper() argument
85 m_ProfilingService(profilingService) {} in ProfilingServiceRuntimeHelper()
DProfilingTests.hpp172 ProfilingService& profilingService) in SwapProfilingConnectionFactoryHelper() argument
178 , m_ProfilingService(profilingService) in SwapProfilingConnectionFactoryHelper()
DProfilingTestUtils.cpp131 ProfilingService profilingService(arm::pipe::MAX_ARMNN_COUNTER, in VerifyTimelineLabelBinaryPacketData() local
136 CHECK(readProfilingGuid == profilingService.GetStaticId(label)); in VerifyTimelineLabelBinaryPacketData()
/external/armnn/profiling/client/src/backends/
DIBackendProfiling.cpp17 … IProfilingService& profilingService, in CreateBackendProfiling() argument
20 return std::make_unique<BackendProfiling>(options, profilingService, backendId); in CreateBackendProfiling()
DBackendProfiling.hpp21 IProfilingService& profilingService, in BackendProfiling() argument
24 m_ProfilingService(profilingService), in BackendProfiling()
/external/armnn/tests/profiling/gatordmock/tests/
DGatordMockTests.cpp261 arm::pipe::ProfilingService profilingService(arm::pipe::MAX_ARMNN_COUNTER,
266 profilingService.ResetExternalProfilingOptions(options, true);
269 CHECK(profilingService.GetCurrentState() == arm::pipe::ProfilingState::Uninitialised);
270 profilingService.Update();
271 CHECK(profilingService.GetCurrentState() == arm::pipe::ProfilingState::NotConnected);
272 profilingService.Update();
285 …WaitFor([&](){return profilingService.GetCurrentState() == arm::pipe::ProfilingState::WaitingForAc… in __anonc82a08380202()
288 profilingService.Update();
299 WaitFor([&](){return profilingService.GetCurrentState() == arm::pipe::ProfilingState::Active;}, in __anonc82a08380302()
315 …const arm::pipe::ICounterDirectory& serviceCounterDirectory = profilingService.GetCounterDirector…
[all …]
/external/armnn/profiling/client/src/
DActivateTimelineReportingCommandHandler.hpp35 IProfilingService& profilingService) in ActivateTimelineReportingCommandHandler() argument
41 m_ProfilingService(profilingService), in ActivateTimelineReportingCommandHandler()
DRegisterBackendCounters.hpp26 …t16_t currentMaxGlobalCounterID, const std::string& backendId, IProfilingService& profilingService) in RegisterBackendCounters() argument
29 m_ProfilingService(profilingService), in RegisterBackendCounters()
DTimelineUtilityMethods.cpp18 …melineUtilityMethods> TimelineUtilityMethods::GetTimelineUtils(IProfilingService& profilingService) in GetTimelineUtils() argument
20 …if (profilingService.GetCurrentState() == ProfilingState::Active && profilingService.IsTimelineRep… in GetTimelineUtils()
22 …std::unique_ptr<ISendTimelinePacket> sendTimelinepacket = profilingService.GetSendTimelinePacket(); in GetTimelineUtils()
/external/armnn/src/backends/backendsCommon/test/
DBackendProfilingTests.cpp204 …std::unique_ptr<IProfilingService> profilingService = arm::pipe::IProfilingService::CreateProfilin… variable
212 std::make_unique<BackendProfiling>(options, *profilingService.get(), cpuAccId);
214 std::make_unique<BackendProfiling>(options, *profilingService.get(), gpuAccId);
458 …std::unique_ptr<IProfilingService> profilingService = arm::pipe::IProfilingService::CreateProfilin… variable
466 std::make_unique<BackendProfiling>(options, *profilingService.get(), cpuAccId);
519 …std::unique_ptr<IProfilingService> profilingService = arm::pipe::IProfilingService::CreateProfilin… variable
526 profilingService->ConfigureProfilingService(
551 profilingService->ResetExternalProfilingOptions(
/external/armnn/profiling/client/include/
DIInitialiseProfilingService.hpp21 virtual void InitialiseProfilingService(IProfilingService& profilingService) = 0;
DIReportStructure.hpp20 virtual void ReportStructure(arm::pipe::IProfilingService& profilingService) = 0;
DTimelineUtilityMethods.hpp23 …atic std::unique_ptr<TimelineUtilityMethods> GetTimelineUtils(IProfilingService& profilingService);
/external/armnn/profiling/client/include/backends/
DIBackendProfiling.hpp62 … IProfilingService& profilingService,
/external/armnn/include/armnn/
DBackendRegistry.hpp47 void SetProfilingService(armnn::Optional<arm::pipe::IProfilingService&> profilingService);