diff options
author | Jim Flynn <jim.flynn@arm.com> | 2022-03-13 20:53:35 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2022-03-13 22:50:47 +0000 |
commit | 77b284e6988b9a131d6abb3140ec6663c2ae84ae (patch) | |
tree | 72e74d3e5cde875b4f891b81ba47b0c5cc54d081 /src/armnn/LoadedNetwork.cpp | |
parent | 4a96211d72002d39df0444b6f2cb56917accb80a (diff) | |
download | armnn-77b284e6988b9a131d6abb3140ec6663c2ae84ae.tar.gz |
IVGCVSW-6848 Move Process.[ch]pp from armnnUtils to profiling/common
Change-Id: I13353f50293eae565a75ccfda37209350512bbc6
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/armnn/LoadedNetwork.cpp')
-rw-r--r-- | src/armnn/LoadedNetwork.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/armnn/LoadedNetwork.cpp b/src/armnn/LoadedNetwork.cpp index 46c1ce58aa..a720769873 100644 --- a/src/armnn/LoadedNetwork.cpp +++ b/src/armnn/LoadedNetwork.cpp @@ -6,22 +6,26 @@ #include "LoadedNetwork.hpp" #include "Layer.hpp" #include "Graph.hpp" -#include <Processes.hpp> #include "Profiling.hpp" #include "HeapProfiling.hpp" #include "WorkingMemHandle.hpp" +#include <armnn/BackendHelper.hpp> #include <armnn/BackendRegistry.hpp> #include <armnn/Logging.hpp> -#include <armnn/utility/Assert.hpp> #include <armnn/backends/TensorHandle.hpp> #include <armnn/backends/IMemoryManager.hpp> #include <armnn/backends/MemCopyWorkload.hpp> -#include <backendsCommon/MemSyncWorkload.hpp> -#include <armnn/BackendHelper.hpp> + #include <armnn/profiling/ArmNNProfiling.hpp> +#include <armnn/utility/Assert.hpp> + +#include <backendsCommon/MemSyncWorkload.hpp> + +#include <common/include/Processes.hpp> + #include <fmt/format.h> namespace armnn @@ -262,7 +266,7 @@ LoadedNetwork::LoadedNetwork(std::unique_ptr<IOptimizedNetwork> net, // Mark the network with a start of life event timelineUtils->RecordEvent(networkGuid, LabelsAndEventClasses::ARMNN_PROFILING_SOL_EVENT_CLASS); // and with the process ID - int processID = armnnUtils::Processes::GetCurrentId(); + int processID = arm::pipe::GetCurrentId(); std::stringstream ss; ss << processID; timelineUtils->MarkEntityWithLabel(networkGuid, ss.str(), LabelsAndEventClasses::PROCESS_ID_GUID); |