aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/CommandHandlerRegistry.hpp
diff options
context:
space:
mode:
authorAron Virginas-Tar <Aron.Virginas-Tar@arm.com>2019-08-22 12:56:34 +0100
committerAron Virginas-Tar <Aron.Virginas-Tar@arm.com>2019-08-23 11:16:39 +0100
commite898db9aaf07b4d0ea0242a1f3296f0192c42939 (patch)
tree017e040f9b18251f288f1f57ec270eac27ef85f6 /src/profiling/CommandHandlerRegistry.hpp
parent91e1d89ad35ad081a4d5995d541791fbefdb3060 (diff)
downloadarmnn-e898db9aaf07b4d0ea0242a1f3296f0192c42939.tar.gz
IVGCVSW-3427 Create PacketVersionResolver class
* Create first version of PacketVersionResolver class * Add basic unit test * Move existing classes inside the armnn::profiling namespace * Add utility methods for Version Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: If0ea0e1b9dea7fbfcd8b808e97b1e2aa91964dfa
Diffstat (limited to 'src/profiling/CommandHandlerRegistry.hpp')
-rw-r--r--src/profiling/CommandHandlerRegistry.hpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/profiling/CommandHandlerRegistry.hpp b/src/profiling/CommandHandlerRegistry.hpp
index ba81f1790f..61d45b0fd2 100644
--- a/src/profiling/CommandHandlerRegistry.hpp
+++ b/src/profiling/CommandHandlerRegistry.hpp
@@ -9,8 +9,15 @@
#include "CommandHandlerKey.hpp"
#include <boost/functional/hash.hpp>
+
#include <unordered_map>
+namespace armnn
+{
+
+namespace profiling
+{
+
struct CommandHandlerHash
{
std::size_t operator() (const CommandHandlerKey& commandHandlerKey) const
@@ -33,4 +40,8 @@ public:
private:
std::unordered_map<CommandHandlerKey, CommandHandlerFunctor*, CommandHandlerHash> registry;
-}; \ No newline at end of file
+};
+
+} // namespace profiling
+
+} // namespace armnn