diff options
author | Francis Murtagh <francis.murtagh@arm.com> | 2019-09-20 15:40:09 +0100 |
---|---|---|
committer | Francis Murtagh <francis.murtagh@arm.com> | 2019-09-20 15:30:54 +0000 |
commit | fcb8ef6b36873d06ddae7553aad28e726aa5be33 (patch) | |
tree | 4c1cf74a38ebfcf8c134bdb1b25568c04ca90e09 /src/profiling/test/SendCounterPacketTests.hpp | |
parent | da9d2d34ae57e18f631d4b42ad694a1d48270fe7 (diff) | |
download | armnn-fcb8ef6b36873d06ddae7553aad28e726aa5be33.tar.gz |
IVGCVSW-3433 Create the Periodic Counter Capture Thread
* Add Periodic counter thread object
* Add Unit test for thread
* Move MockBuffer to header file to allow reuse
Change-Id: Id2a8ea636723ab35e8a50efc200c8c76059bba02
Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com>
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Diffstat (limited to 'src/profiling/test/SendCounterPacketTests.hpp')
-rw-r--r-- | src/profiling/test/SendCounterPacketTests.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiling/test/SendCounterPacketTests.hpp b/src/profiling/test/SendCounterPacketTests.hpp index 6c7bb50362..5d5dfd14c7 100644 --- a/src/profiling/test/SendCounterPacketTests.hpp +++ b/src/profiling/test/SendCounterPacketTests.hpp @@ -21,8 +21,8 @@ class MockBuffer : public IBufferWrapper { public: MockBuffer(unsigned int size) - : m_BufferSize(size), - m_Buffer(std::make_unique<unsigned char[]>(size)) {} + : m_BufferSize(size), + m_Buffer(std::make_unique<unsigned char[]>(size)) {} unsigned char* Reserve(unsigned int requestedSize, unsigned int& reservedSize) override { |