IVGCVSW-3939 Code refactoring and minor fixes
authorMatteo Martincigh <matteo.martincigh@arm.com>
Tue, 15 Oct 2019 08:35:29 +0000 (09:35 +0100)
committerMatteo Martincigh <matteo.martincigh@arm.com>
Tue, 15 Oct 2019 15:20:31 +0000 (15:20 +0000)
commit8d9590e5510b8ebdc4e0b2b31ce4b653b46fc02a
tree0521297dae9ebbf4b012df52313abe44d66d4c42
parent672d06eac5b0842c22f9f219e9b65efcd5883d33
IVGCVSW-3939 Code refactoring and minor fixes

 * Fixed value masking in SendPeriodicCounterCapturePacket and updated
   the pertinent unit tests
 * Code refactoring and cleanup
 * Added extra comments to the ProfilingService stop/reset procedure

Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Change-Id: Ibaf2fede76e06d5b8ce7258a4820a60e5993559f
src/profiling/PeriodicCounterCapture.cpp
src/profiling/ProfilingService.cpp
src/profiling/SendCounterPacket.cpp
src/profiling/SocketProfilingConnection.cpp
src/profiling/test/ProfilingTests.cpp
src/profiling/test/SendCounterPacketTests.cpp