aboutsummaryrefslogtreecommitdiff
path: root/tests/profiling/timelineDecoder/TimelineCaptureCommandHandler.cpp
diff options
context:
space:
mode:
authorRob Hughes <robert.hughes@arm.com>2020-01-13 11:14:59 +0000
committerRob Hughes <robert.hughes@arm.com>2020-01-21 16:01:58 +0000
commit25b7436b02514145a0289daff78f5b9f64cdd0db (patch)
treeef574302d4dda7e67e5c05b999bcd5b09d3c9190 /tests/profiling/timelineDecoder/TimelineCaptureCommandHandler.cpp
parent41e92b085aa543cba57610135168185632ed0799 (diff)
downloadarmnn-25b7436b02514145a0289daff78f5b9f64cdd0db.tar.gz
Add thin abstraction layer for network sockets
This makes SocketProfilingConnection and GatordMock work on Windows as well as Linux Change-Id: I4b10c079b653a1c3f61eb20694e5b5f8a6f5fdfb Signed-off-by: Robert Hughes <robert.hughes@arm.com>
Diffstat (limited to 'tests/profiling/timelineDecoder/TimelineCaptureCommandHandler.cpp')
-rw-r--r--tests/profiling/timelineDecoder/TimelineCaptureCommandHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/profiling/timelineDecoder/TimelineCaptureCommandHandler.cpp b/tests/profiling/timelineDecoder/TimelineCaptureCommandHandler.cpp
index bdceca69b0..78b1300ed3 100644
--- a/tests/profiling/timelineDecoder/TimelineCaptureCommandHandler.cpp
+++ b/tests/profiling/timelineDecoder/TimelineCaptureCommandHandler.cpp
@@ -122,7 +122,7 @@ void TimelineCaptureCommandHandler::ReadEvent(const unsigned char* data, uint32_
event.m_TimeStamp = profiling::ReadUint64(data, offset);
offset += uint64_t_size;
- event.m_ThreadId = new u_int8_t[threadId_size];
+ event.m_ThreadId = new uint8_t[threadId_size];
profiling::ReadBytes(data, offset, threadId_size, event.m_ThreadId);
offset += threadId_size;