aboutsummaryrefslogtreecommitdiff
path: root/tests/profiling/gatordmock/GatordMockService.hpp
diff options
context:
space:
mode:
authorMatthew Bentham <matthew.bentham@arm.com>2022-01-10 13:34:12 +0000
committerTeresaARM <teresa.charlinreyes@arm.com>2022-01-12 20:09:14 +0000
commit6ae43c40de8cc35af3b3ba401fa6504ff782cd86 (patch)
tree1aff6d2280752fae0f2b5357be1588c1720df432 /tests/profiling/gatordmock/GatordMockService.hpp
parent3ea0107ce9971cea47ac6e318cc9affbd9b6a989 (diff)
downloadarmnn-6ae43c40de8cc35af3b3ba401fa6504ff782cd86.tar.gz
Fix thread safety issues in TimelineDecoder and associated unit tests
Enforce serialized access to TimelineDecoder::m_Model by removing public access funtion and replacing with an 'Apply' method taking a lambda and uses a std::lock. Use the new lambda when invoking callbacks. Change-Id: I6ea2fbca990736f3be63e80897f175421f19f0c1 Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
Diffstat (limited to 'tests/profiling/gatordmock/GatordMockService.hpp')
-rw-r--r--tests/profiling/gatordmock/GatordMockService.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/profiling/gatordmock/GatordMockService.hpp b/tests/profiling/gatordmock/GatordMockService.hpp
index 1c45d4ea98..30c5444f4e 100644
--- a/tests/profiling/gatordmock/GatordMockService.hpp
+++ b/tests/profiling/gatordmock/GatordMockService.hpp
@@ -34,7 +34,7 @@ namespace gatordmock
{
/// A class that implements a Mock Gatord server. It will listen on a specified Unix domain socket (UDS)
-/// namespace for client connections. It will then allow opertaions to manage coutners while receiving counter data.
+/// namespace for client connections. It will then allow opertaions to manage counters while receiving counter data.
class GatordMockService
{
public: