Searched refs:num_bytes_to_send (Results 1 – 1 of 1) sorted by relevance
30 Result<double> measure_send_rate(int fd, int num_bytes_to_send) { in measure_send_rate() argument32 data.assign(num_bytes_to_send, 'a'); in measure_send_rate()46 double send_rate = (double)num_bytes_to_send / kNumBytesPerMB / elapsed_seconds; in measure_send_rate()54 int num_bytes_to_send) { in Java_com_android_microdroid_benchmark_IoVsockHostNative_measureSendRate() argument55 if (auto res = measure_send_rate(fd, num_bytes_to_send); res.ok()) { in Java_com_android_microdroid_benchmark_IoVsockHostNative_measureSendRate()