Home
last modified time | relevance | path

Searched refs:num_bytes_to_send (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Virtualization/tests/benchmark/src/jni/
Dio_vsock_host_jni.cpp30 Result<double> measure_send_rate(int fd, int num_bytes_to_send) { in measure_send_rate() argument
32 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() argument
55 if (auto res = measure_send_rate(fd, num_bytes_to_send); res.ok()) { in Java_com_android_microdroid_benchmark_IoVsockHostNative_measureSendRate()