aboutsummaryrefslogtreecommitdiff
path: root/tests/profiling/CommandLineProcessor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/profiling/CommandLineProcessor.hpp')
-rw-r--r--tests/profiling/CommandLineProcessor.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/profiling/CommandLineProcessor.hpp b/tests/profiling/CommandLineProcessor.hpp
index 441d7cddd9..a7e43ada12 100644
--- a/tests/profiling/CommandLineProcessor.hpp
+++ b/tests/profiling/CommandLineProcessor.hpp
@@ -4,6 +4,8 @@
//
#pragma once
+#include <string>
+
namespace armnn
{
@@ -12,12 +14,22 @@ 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