IVGCVSW-4129 Fix thread starvation due to low capture periods
authorColm Donelan <Colm.Donelan@arm.com>
Thu, 14 Nov 2019 14:19:07 +0000 (14:19 +0000)
committerMatteo Martincigh <matteo.martincigh@arm.com>
Fri, 15 Nov 2019 17:11:01 +0000 (17:11 +0000)
commit0270524f96c4e21a755d1c71e46c4e8665918237
tree1ce1fc3fd51f568e15e84e0281410b6b53de2fe5
parent9723d0243463e3a32ed11ae1c38298343b4e8818
IVGCVSW-4129 Fix thread starvation due to low capture periods

* Set default capture period to 10mSec.
* Validate capture period in PeriodicCounterSelectionCommandHandler
  pull it up to 10mSec if it is lower.
* Fix segmentation fault in GatordMock when receive thread closes.

Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I9f7ddc70bd99c102c5baef872d28329976a4dc07
include/armnn/IRuntime.hpp
include/armnn/Types.hpp
src/profiling/PeriodicCounterSelectionCommandHandler.cpp
src/profiling/test/ProfilingTests.cpp
tests/profiling/gatordmock/CommandFileParser.cpp
tests/profiling/gatordmock/GatordMockService.cpp
tests/profiling/gatordmock/GatordMockService.hpp