Searched refs:received_bytes (Results 1 – 2 of 2) sorted by relevance
64 std::atomic<size_t> received_bytes; in BM_Connection_Unidirectional() local67 … server->SetReadCallback([&received_bytes](Connection*, std::unique_ptr<apacket> packet) -> bool { in BM_Connection_Unidirectional()68 received_bytes += packet->payload.size(); in BM_Connection_Unidirectional()90 received_bytes = 0; in BM_Connection_Unidirectional()92 while (received_bytes < data_size) { in BM_Connection_Unidirectional()119 std::atomic<size_t> received_bytes; in BM_Connection_Echo() local124 … client->SetReadCallback([&received_bytes](Connection*, std::unique_ptr<apacket> packet) -> bool { in BM_Connection_Echo()125 received_bytes += packet->payload.size(); in BM_Connection_Echo()164 received_bytes = 0; in BM_Connection_Echo()166 while (received_bytes < data_size) { in BM_Connection_Echo()
132 received_bytes = bytearray(received)133 print(raw(received_bytes))