diff options
author | Colm Donelan <Colm.Donelan@arm.com> | 2019-10-11 13:09:49 +0100 |
---|---|---|
committer | Colm Donelan <Colm.Donelan@arm.com> | 2019-10-11 13:12:37 +0100 |
commit | a21620d32a8a0a8d527c061e2a22d51009d75877 (patch) | |
tree | b08ffee4cddb1bb3b1d206c67ea80bc2093d7bf5 /tests/profiling/CommandLineProcessor.hpp | |
parent | 67ef2a52c3cdcc37538d77711bbcea2f0e5655e5 (diff) | |
download | armnn-a21620d32a8a0a8d527c061e2a22d51009d75877.tar.gz |
IVGCVSW-3721 Add support for startup sequence (Mock Gatord service).
* Receive and process the stream metadata from the client.
* Send the connection ack packet.
* Wait in a receiving thread and print the packets.
* GatordMockTest and Impl for PeriodicCounterCapture CommandHandler
* CaptureData class to retain packet data
* MockUtils
* Update SocketProfilingConnection to fix non blocking receipt of packets.
* Restructure directory layout following review comments.
* Extract the mock service into a static library in the cmake files.
Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Signed-off-by: Keith Davis <keith.davis@arm.com>
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I33c1c9f93976708c9315f71290d42cff53b8c075
Diffstat (limited to 'tests/profiling/CommandLineProcessor.hpp')
-rw-r--r-- | tests/profiling/CommandLineProcessor.hpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/tests/profiling/CommandLineProcessor.hpp b/tests/profiling/CommandLineProcessor.hpp deleted file mode 100644 index a7e43ada12..0000000000 --- a/tests/profiling/CommandLineProcessor.hpp +++ /dev/null @@ -1,37 +0,0 @@ -// -// Copyright © 2019 Arm Ltd. All rights reserved. -// SPDX-License-Identifier: MIT -// -#pragma once - -#include <string> - -namespace armnn -{ - -namespace gatordmock -{ - -// Parses the command line to extract: -// -// - -/** - * Use Boost program options to process the command line. - * -h or --help to print the options. - * -n or --namespace to specify the UDS namespace that the server will be listening on. - */ -class CommandLineProcessor -{ -public: - bool ProcessCommandLine(int argc, char *argv[]); - - std::string GetUdsNamespace() { return m_UdsNamespace; } - -private: - std::string m_UdsNamespace; -}; - -} // namespace gatordmock - -} // namespace armnn |