IVGCVSW-3691 Implement SendCounterPacket.SendCounterDirectoryPacket() function
authorMatteo Martincigh <matteo.martincigh@arm.com>
Thu, 5 Sep 2019 11:02:04 +0000 (12:02 +0100)
committerJim Flynn Arm <jim.flynn@arm.com>
Wed, 18 Sep 2019 16:24:39 +0000 (16:24 +0000)
commit42f9d9e8fdb15f418240a64a7b089df611a015a0
tree7fa74bb038d1b58f45789fe533ba6a422e2bd6df
parent8355ec982eb3ff51a6a8042fe760138638ca550b
IVGCVSW-3691 Implement SendCounterPacket.SendCounterDirectoryPacket() function

 * Changed the signature of SendCounterDirectoryPacket to accept any
   ICounterDirectory object
 * Added helper methods to the SendCounterPacket class for creating the records
 * Created mock classes for testing
 * Added unit tests for both SendCounterDirectoryPacket and the helper methods
 * Added unit tests for the SWTrace utility functions
 * Added ReadUint8 utility function for getting single byte out of a buffer
 * Disabled extra sign-conversion warning in the conversion macro

Change-Id: Ie2dddcd6824ed07b623f0cd78d9b7d05c5b70c39
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
include/armnn/Conversion.hpp
src/profiling/ISendCounterPacket.hpp
src/profiling/ProfilingUtils.cpp
src/profiling/ProfilingUtils.hpp
src/profiling/SendCounterPacket.cpp
src/profiling/SendCounterPacket.hpp
src/profiling/test/ProfilingTests.cpp
src/profiling/test/SendCounterPacketTests.cpp
src/profiling/test/SendCounterPacketTests.hpp