diff options
author | Jim Flynn <jim.flynn@arm.com> | 2022-03-13 22:35:46 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2022-03-14 00:34:17 +0000 |
commit | decd08b89565b18067d229c8c25b6f3a3333c653 (patch) | |
tree | 56176931968b83646b7e69f8e5b84ff7a65a24aa /src/profiling/SocketProfilingConnection.cpp | |
parent | 77b284e6988b9a131d6abb3140ec6663c2ae84ae (diff) | |
download | armnn-decd08b89565b18067d229c8c25b6f3a3333c653.tar.gz |
IVGCVSW-6847 replace armnn:Optional with arm::pipe::Optional in profiling code
Change-Id: I048c538d4f8c21770aec2b2751c934d9fa15a4dc
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/SocketProfilingConnection.cpp')
-rw-r--r-- | src/profiling/SocketProfilingConnection.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/profiling/SocketProfilingConnection.cpp b/src/profiling/SocketProfilingConnection.cpp index 4787136685..a211567f7f 100644 --- a/src/profiling/SocketProfilingConnection.cpp +++ b/src/profiling/SocketProfilingConnection.cpp @@ -5,9 +5,10 @@ #include "SocketProfilingConnection.hpp" -#include "common/include/SocketConnectionException.hpp" +#include <common/include/SocketConnectionException.hpp> #include <cerrno> +#include <cstring> #include <fcntl.h> #include <string> @@ -149,7 +150,7 @@ arm::pipe::Packet SocketProfilingConnection::ReadPacket(uint32_t timeout) { // This is a corner case. The socket as been woken up but not with any data. // We'll throw a timeout exception to loop around again. - throw armnn::TimeoutException( + throw arm::pipe::TimeoutException( "SocketProfilingConnection: File descriptor was polled but no data was available to receive."); } |