aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/SendCounterPacketTests.cpp
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2019-12-04 10:07:20 +0000
committerNarumol Prangnawarat <narumol.prangnawarat@arm.com>2019-12-04 17:07:07 +0000
commitfc3656235e4138b65ac107aa01fc9845a86ff2ab (patch)
treee022417140c58fa18adedc1d2126af48976546a9 /src/profiling/test/SendCounterPacketTests.cpp
parent6198fe0f653fb60c938a3c269bf28aeefcdad07e (diff)
downloadarmnn-fc3656235e4138b65ac107aa01fc9845a86ff2ab.tar.gz
IVGCVSW-4223 Change PeriodicCounterCapture Packet Family to 3
Change-Id: Ibc166c25d8d5fd09f407c0c697217a57b84d8cdc Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/test/SendCounterPacketTests.cpp')
-rw-r--r--src/profiling/test/SendCounterPacketTests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiling/test/SendCounterPacketTests.cpp b/src/profiling/test/SendCounterPacketTests.cpp
index b4564fec29..cd9cf06e7e 100644
--- a/src/profiling/test/SendCounterPacketTests.cpp
+++ b/src/profiling/test/SendCounterPacketTests.cpp
@@ -220,7 +220,7 @@ BOOST_AUTO_TEST_CASE(SendPeriodicCounterCapturePacketTest)
uint32_t headerWord1 = ReadUint32(readBuffer2, 4);
uint64_t readTimestamp = ReadUint64(readBuffer2, 8);
- BOOST_TEST(((headerWord0 >> 26) & 0x0000003F) == 1); // packet family
+ BOOST_TEST(((headerWord0 >> 26) & 0x0000003F) == 3); // packet family
BOOST_TEST(((headerWord0 >> 19) & 0x0000007F) == 0); // packet class
BOOST_TEST(((headerWord0 >> 16) & 0x00000007) == 0); // packet type
BOOST_TEST(headerWord1 == 8); // data length
@@ -243,7 +243,7 @@ BOOST_AUTO_TEST_CASE(SendPeriodicCounterCapturePacketTest)
headerWord1 = ReadUint32(readBuffer3, 4);
uint64_t readTimestamp2 = ReadUint64(readBuffer3, 8);
- BOOST_TEST(((headerWord0 >> 26) & 0x0000003F) == 1); // packet family
+ BOOST_TEST(((headerWord0 >> 26) & 0x0000003F) == 3); // packet family
BOOST_TEST(((headerWord0 >> 19) & 0x0000007F) == 0); // packet class
BOOST_TEST(((headerWord0 >> 16) & 0x00000007) == 0); // packet type
BOOST_TEST(headerWord1 == 38); // data length