diff options
author | Rob Hughes <robert.hughes@arm.com> | 2020-01-13 11:14:59 +0000 |
---|---|---|
committer | Rob Hughes <robert.hughes@arm.com> | 2020-01-21 16:01:58 +0000 |
commit | 25b7436b02514145a0289daff78f5b9f64cdd0db (patch) | |
tree | ef574302d4dda7e67e5c05b999bcd5b09d3c9190 /src/profiling/SocketProfilingConnection.hpp | |
parent | 41e92b085aa543cba57610135168185632ed0799 (diff) | |
download | armnn-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 'src/profiling/SocketProfilingConnection.hpp')
-rw-r--r-- | src/profiling/SocketProfilingConnection.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiling/SocketProfilingConnection.hpp b/src/profiling/SocketProfilingConnection.hpp index 5fb02bb19e..05c7130de7 100644 --- a/src/profiling/SocketProfilingConnection.hpp +++ b/src/profiling/SocketProfilingConnection.hpp @@ -5,8 +5,8 @@ #include "IProfilingConnection.hpp" -#include <poll.h> #include <Runtime.hpp> +#include <NetworkSockets.hpp> #pragma once @@ -31,7 +31,7 @@ private: // To indicate we want to use an abstract UDS ensure the first character of the address is 0. const char* m_GatorNamespace = "\0gatord_namespace"; - struct pollfd m_Socket[1]{}; + armnnUtils::Sockets::PollFd m_Socket[1]{}; }; } // namespace profiling |