| 88 | } |
| 89 | |
| 90 | bool SocketProfilingConnection::WritePacket(const unsigned char* buffer, uint32_t length) |
| 91 | { |
| 92 | if (buffer == nullptr || length == 0) |
| 93 | { |
| 94 | return false; |
| 95 | } |
| 96 | #if !defined(ARMNN_DISABLE_SOCKETS) |
| 97 | return arm::pipe::Write(m_Socket[0].fd, buffer, length) != -1; |
| 98 | #else |
| 99 | return false; |
| 100 | #endif |
| 101 | } |
| 102 | |
| 103 | arm::pipe::Packet SocketProfilingConnection::ReadPacket(uint32_t timeout) |
| 104 | { |
no test coverage detected