From e898db9aaf07b4d0ea0242a1f3296f0192c42939 Mon Sep 17 00:00:00 2001 From: Aron Virginas-Tar Date: Thu, 22 Aug 2019 12:56:34 +0100 Subject: 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 Change-Id: If0ea0e1b9dea7fbfcd8b808e97b1e2aa91964dfa --- src/profiling/CommandHandlerRegistry.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/profiling/CommandHandlerRegistry.cpp') diff --git a/src/profiling/CommandHandlerRegistry.cpp b/src/profiling/CommandHandlerRegistry.cpp index d392db0534..97313475ff 100644 --- a/src/profiling/CommandHandlerRegistry.cpp +++ b/src/profiling/CommandHandlerRegistry.cpp @@ -8,6 +8,12 @@ #include #include +namespace armnn +{ + +namespace profiling +{ + void CommandHandlerRegistry::RegisterFunctor(CommandHandlerFunctor* functor, uint32_t packetId, uint32_t version) { BOOST_ASSERT_MSG(functor, "Provided functor should not be a nullptr."); @@ -27,3 +33,7 @@ CommandHandlerFunctor* CommandHandlerRegistry::GetFunctor(uint32_t packetId, uin return registry.at(key); } + +} // namespace profiling + +} // namespace armnn -- cgit v1.2.1