aboutsummaryrefslogtreecommitdiff
path: root/tests/profiling/gatordmock/GatordMockMain.cpp
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2020-07-20 16:57:44 +0100
committerJim Flynn <jim.flynn@arm.com>2020-07-29 15:35:15 +0100
commitbbfe603e5ae42317a2b67d713d00882bea341c88 (patch)
tree8d8a78d6836384fb92fb9741c865443624dfec68 /tests/profiling/gatordmock/GatordMockMain.cpp
parenta9c2ce123a6a5a68728d040a0323c482bbe46903 (diff)
downloadarmnn-bbfe603e5ae42317a2b67d713d00882bea341c88.tar.gz
IVGCVSW-5166 Pull out the common and server side code into standalone libraries
Change-Id: I180f84c493a9b2be4b93b25d312ebdd9e71b1735 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'tests/profiling/gatordmock/GatordMockMain.cpp')
-rw-r--r--tests/profiling/gatordmock/GatordMockMain.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/profiling/gatordmock/GatordMockMain.cpp b/tests/profiling/gatordmock/GatordMockMain.cpp
index 5d6e8869f6..cda1ff148f 100644
--- a/tests/profiling/gatordmock/GatordMockMain.cpp
+++ b/tests/profiling/gatordmock/GatordMockMain.cpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2019 Arm Ltd. All rights reserved.
+// Copyright © 2019 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
@@ -7,7 +7,7 @@
#include "CommandLineProcessor.hpp"
#include "GatordMockService.hpp"
-#include <ConnectionHandler.hpp>
+#include <server/include/basePipeServer/ConnectionHandler.hpp>
#include <string>
#include <signal.h>
@@ -19,11 +19,11 @@ using namespace gatordmock;
static volatile bool run = true;
void exit_capture(int signum)
{
- IgnoreUnused(signum);
+ arm::pipe::IgnoreUnused(signum);
run = false;
}
-bool CreateMockService(std::unique_ptr<armnnProfiling::BasePipeServer> basePipeServer,
+bool CreateMockService(std::unique_ptr<arm::pipe::BasePipeServer> basePipeServer,
std::string commandFile,
bool isEchoEnabled)
{
@@ -65,7 +65,7 @@ int main(int argc, char* argv[])
std::string commandFile = cmdLine.GetCommandFile();
// make the socket non-blocking so we can exit the loop
- armnnProfiling::ConnectionHandler connectionHandler(cmdLine.GetUdsNamespace(), true);
+ arm::pipe::ConnectionHandler connectionHandler(cmdLine.GetUdsNamespace(), true);
while (run)
{