| 3053 | } |
| 3054 | |
| 3055 | bool Profiler::SendData( const char* data, size_t len ) |
| 3056 | { |
| 3057 | const lz4sz_t lz4sz = LZ4_compress_fast_continue( (LZ4_stream_t*)m_stream, data, m_lz4Buf + sizeof( lz4sz_t ), (int)len, LZ4Size, 1 ); |
| 3058 | memcpy( m_lz4Buf, &lz4sz, sizeof( lz4sz ) ); |
| 3059 | return m_sock->Send( m_lz4Buf, lz4sz + sizeof( lz4sz_t ) ) != -1; |
| 3060 | } |
| 3061 | |
| 3062 | void Profiler::SendString( uint64_t str, const char* ptr, size_t len, QueueType type ) |
| 3063 | { |
nothing calls this directly
no test coverage detected