aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ProfilingService.cpp
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2022-03-10 23:13:01 +0000
committerJim Flynn <jim.flynn@arm.com>2022-03-12 15:14:48 +0000
commit6c9f17dc5fe58e23db0ba591302168766b38ab2a (patch)
tree50b302f1bdfcce997a2b8330a8142d6858c672d5 /src/profiling/ProfilingService.cpp
parent6730fe9cbc195f054d697b25daba8516d70658e0 (diff)
downloadarmnn-6c9f17dc5fe58e23db0ba591302168766b38ab2a.tar.gz
IVGCVSW-6843 replace armnn::Logging with arm::pipe::Logging in profiling code
Change-Id: I9c3af46ca02c5685e06657b8af0e4658d71891d4 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/ProfilingService.cpp')
-rw-r--r--src/profiling/ProfilingService.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/profiling/ProfilingService.cpp b/src/profiling/ProfilingService.cpp
index 677158e64c..b5f398db97 100644
--- a/src/profiling/ProfilingService.cpp
+++ b/src/profiling/ProfilingService.cpp
@@ -5,11 +5,9 @@
#include "ProfilingService.hpp"
-#include <armnn/Logging.hpp>
-
+#include <common/include/Logging.hpp>
#include <common/include/NumericCast.hpp>
#include <common/include/ProfilingGuid.hpp>
-
#include <common/include/SocketConnectionException.hpp>
#include <fmt/format.h>
@@ -131,12 +129,12 @@ void ProfilingService::Update()
}
catch (const arm::pipe::ProfilingException& e)
{
- ARMNN_LOG(warning) << "An error has occurred when creating the profiling connection: "
+ ARM_PIPE_LOG(warning) << "An error has occurred when creating the profiling connection: "
<< e.what();
}
catch (const arm::pipe::SocketConnectionException& e)
{
- ARMNN_LOG(warning) << "An error has occurred when creating the profiling connection ["
+ ARM_PIPE_LOG(warning) << "An error has occurred when creating the profiling connection ["
<< e.what() << "] on socket [" << e.GetSocketFd() << "].";
}
@@ -425,7 +423,7 @@ void ProfilingService::WaitForProfilingServiceActivation(unsigned int timeout)
std::chrono::duration<double, std::milli> elapsed = finish - start;
std::stringstream ss;
ss << "Timed out waiting on profiling service activation for " << elapsed.count() << " ms";
- ARMNN_LOG(warning) << ss.str();
+ ARM_PIPE_LOG(warning) << ss.str();
}
return;
}