Searched refs:elapsed_seconds (Results 1 – 3 of 3) sorted by relevance
44 double elapsed_seconds = finish.tv_sec - start.tv_sec + (finish.tv_nsec - start.tv_nsec) / 1e9; in measure_send_rate() local45 LOG(INFO) << "Host:Finished sending data in " << elapsed_seconds << " seconds."; in measure_send_rate()46 double send_rate = (double)num_bytes_to_send / kNumBytesPerMB / elapsed_seconds; in measure_send_rate()
79 double elapsed_seconds = finish.tv_sec - start.tv_sec + (finish.tv_nsec - start.tv_nsec) / 1e9; in main() local80 double rate = (double)file_size_mb / elapsed_seconds; in main()
141 double elapsed_seconds = in measure_read_rate() local144 return {file_size_mb / elapsed_seconds}; in measure_read_rate()