aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/SendCounterPacketTests.hpp
diff options
context:
space:
mode:
authorNarumol Prangnawarat <narumol.prangnawarat@arm.com>2019-09-27 18:00:11 +0100
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-09-30 14:00:10 +0000
commit7be47efac07b6276f02a17cb486f9061a426a837 (patch)
treeb63cc8dddef79b6540c9b2abae03055bf85bb685 /src/profiling/test/SendCounterPacketTests.hpp
parentaab82c5ebc5b65f5f5f657d7bee6bd60f106d3b9 (diff)
downloadarmnn-7be47efac07b6276f02a17cb486f9061a426a837.tar.gz
IVGCVSW-3903 Create Counter Stream Buffer
* Add implementation of PacketBuffer * Add implementation of BufferManager * Unit tests Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: Icca3807149ff5a8ed31cc87de73c50b95bca39d4
Diffstat (limited to 'src/profiling/test/SendCounterPacketTests.hpp')
-rw-r--r--src/profiling/test/SendCounterPacketTests.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiling/test/SendCounterPacketTests.hpp b/src/profiling/test/SendCounterPacketTests.hpp
index c3d47157d0..243731cb2c 100644
--- a/src/profiling/test/SendCounterPacketTests.hpp
+++ b/src/profiling/test/SendCounterPacketTests.hpp
@@ -147,10 +147,10 @@ public:
{
std::unique_lock<std::mutex> availableListLock(m_AvailableMutex, std::defer_lock);
if (requestedSize > m_MaxBufferSize)
- {
+ {
throw armnn::Exception("Maximum buffer size that can be requested is [" +
std::to_string(m_MaxBufferSize) + "] bytes");
- }
+ }
availableListLock.lock();
if (m_AvailableList.empty())
{