aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/SendCounterPacketTests.cpp
diff options
context:
space:
mode:
authorFinn Williams <Finn.Williams@arm.com>2020-04-29 13:17:30 +0100
committerfinn.williams <finn.williams@arm.com>2020-05-07 13:56:43 +0000
commite09fc820968ee4de20df60e371088582a710bad0 (patch)
tree17047a89e67ff0265a801d79add45c263cab1259 /src/profiling/test/SendCounterPacketTests.cpp
parentec99f2907ceecf8045d1cf392a51e57d9fb6bb60 (diff)
downloadarmnn-e09fc820968ee4de20df60e371088582a710bad0.tar.gz
IVGCVSW-4730 Remove the duplication of PIPE_MAGIC in the code base
Change-Id: I41c6e917b29eee33360758b6c5afe5dadba89093 Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Diffstat (limited to 'src/profiling/test/SendCounterPacketTests.cpp')
-rw-r--r--src/profiling/test/SendCounterPacketTests.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/profiling/test/SendCounterPacketTests.cpp b/src/profiling/test/SendCounterPacketTests.cpp
index dd271c9594..9b3a86a5f4 100644
--- a/src/profiling/test/SendCounterPacketTests.cpp
+++ b/src/profiling/test/SendCounterPacketTests.cpp
@@ -18,6 +18,9 @@
#include <armnn/Conversion.hpp>
#include <armnn/Utils.hpp>
+#include <common/include/Constants.hpp>
+
+
#include <boost/test/unit_test.hpp>
#include <boost/numeric/conversion/cast.hpp>
@@ -324,7 +327,7 @@ BOOST_AUTO_TEST_CASE(SendStreamMetaDataPacketTest)
BOOST_TEST(headerWord1 == totalLength - (2 * sizeUint32)); // data length
uint32_t offset = sizeUint32 * 2;
- BOOST_TEST(ReadUint32(readBuffer2, offset) == SendCounterPacket::PIPE_MAGIC); // pipe_magic
+ BOOST_TEST(ReadUint32(readBuffer2, offset) == armnnProfiling::PIPE_MAGIC); // pipe_magic
offset += sizeUint32;
BOOST_TEST(ReadUint32(readBuffer2, offset) == EncodeVersion(1, 0, 0)); // stream_metadata_version
offset += sizeUint32;