diff options
author | Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> | 2019-08-22 12:56:34 +0100 |
---|---|---|
committer | Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> | 2019-08-23 11:16:39 +0100 |
commit | e898db9aaf07b4d0ea0242a1f3296f0192c42939 (patch) | |
tree | 017e040f9b18251f288f1f57ec270eac27ef85f6 /src/profiling/Packet.cpp | |
parent | 91e1d89ad35ad081a4d5995d541791fbefdb3060 (diff) | |
download | armnn-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/Packet.cpp')
-rw-r--r-- | src/profiling/Packet.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/profiling/Packet.cpp b/src/profiling/Packet.cpp index 97cb89b517..d0650a2aff 100644 --- a/src/profiling/Packet.cpp +++ b/src/profiling/Packet.cpp @@ -5,6 +5,12 @@ #include "Packet.hpp" +namespace armnn +{ + +namespace profiling +{ + std::uint32_t Packet::GetHeader() const { return m_Header; @@ -38,4 +44,8 @@ std::uint32_t Packet::GetPacketClass() const std::uint32_t Packet::GetPacketType() const { return (m_PacketId & 7); -}
\ No newline at end of file +} + +} // namespace profiling + +} // namespace armnn |