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/armnnUtils | |
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/armnnUtils')
-rw-r--r-- | src/armnnUtils/Processes.cpp | 29 | ||||
-rw-r--r-- | src/armnnUtils/Processes.hpp | 16 |
2 files changed, 0 insertions, 45 deletions
diff --git a/src/armnnUtils/Processes.cpp b/src/armnnUtils/Processes.cpp deleted file mode 100644 index 8b401d4145..0000000000 --- a/src/armnnUtils/Processes.cpp +++ /dev/null @@ -1,29 +0,0 @@ -// -// Copyright © 2020 Arm Ltd and Contributors. All rights reserved. -// SPDX-License-Identifier: MIT -// - -#include "Processes.hpp" - -#if defined(__unix__) || defined(__APPLE__) -#include <unistd.h> -#elif defined(_MSC_VER) -#include <common/include/WindowsWrapper.hpp> -#endif - -namespace armnnUtils -{ -namespace Processes -{ - -int GetCurrentId() -{ -#if defined(__unix__) || defined(__APPLE__) - return getpid(); -#elif defined(_MSC_VER) - return ::GetCurrentProcessId(); -#endif -} - -} -} diff --git a/src/armnnUtils/Processes.hpp b/src/armnnUtils/Processes.hpp deleted file mode 100644 index 89704237db..0000000000 --- a/src/armnnUtils/Processes.hpp +++ /dev/null @@ -1,16 +0,0 @@ -// -// Copyright © 2020 Arm Ltd and Contributors. All rights reserved. -// SPDX-License-Identifier: MIT -// - -#pragma once - -namespace armnnUtils -{ -namespace Processes -{ - -int GetCurrentId(); - -} -} |