diff options
author | Sadik Armagan <sadik.armagan@arm.com> | 2019-10-24 10:26:05 +0100 |
---|---|---|
committer | Jim Flynn Arm <jim.flynn@arm.com> | 2019-10-24 10:06:40 +0000 |
commit | 7bbdf9db051f40377a284a28375816e60349376d (patch) | |
tree | dc7d8442cecb2f23ca2f93c8535316ed5207be69 /src/profiling/test/SendCounterPacketTests.cpp | |
parent | a87698211b6aaab38424865d200534d96f55dcf2 (diff) | |
download | armnn-7bbdf9db051f40377a284a28375816e60349376d.tar.gz |
IVGCVSW-3950 Create SendTimelinePacket interface and class
* Implemented ISendTimelinePacket interface and its implementation SendTimelinePacket
* Implemented TimelinePacketWriterFactory
* Implemented unit tests for SendTimelinePacket functions
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I0a47586437f99510394d4d94589dccfb397d38e5
Diffstat (limited to 'src/profiling/test/SendCounterPacketTests.cpp')
-rw-r--r-- | src/profiling/test/SendCounterPacketTests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiling/test/SendCounterPacketTests.cpp b/src/profiling/test/SendCounterPacketTests.cpp index f0ba34778c..b33b62f10b 100644 --- a/src/profiling/test/SendCounterPacketTests.cpp +++ b/src/profiling/test/SendCounterPacketTests.cpp @@ -5,8 +5,8 @@ #include "SendCounterPacketTests.hpp" -#include <CounterDirectory.hpp> #include <BufferManager.hpp> +#include <CounterDirectory.hpp> #include <EncodeVersion.hpp> #include <ProfilingUtils.hpp> #include <SendCounterPacket.hpp> @@ -318,7 +318,7 @@ BOOST_AUTO_TEST_CASE(SendStreamMetaDataPacketTest) offset += sizeUint32; BOOST_TEST(ReadUint32(readBuffer2, offset) == EncodeVersion(1, 0, 0)); // stream_metadata_version offset += sizeUint32; - BOOST_TEST(ReadUint32(readBuffer2, offset) == SendCounterPacket::MAX_METADATA_PACKET_LENGTH); // max_data_len + BOOST_TEST(ReadUint32(readBuffer2, offset) == MAX_METADATA_PACKET_LENGTH); // max_data_len offset += sizeUint32; BOOST_TEST(ReadUint32(readBuffer2, offset) == numeric_cast<uint32_t>(getpid())); // pid offset += sizeUint32; |