All units are in MB/s, as these are the units guaranteed to be output
by the test.
lines = [line.strip()for line in test_output.splitlines()]
host_to_device_results_start = _FindIndexOfLineThatStartsWith(
lines, "Host to Device Bandwidth")
device_to_host_results_start = _FindIndexOfLineThatStartsWith(
lines, "Device to Host Bandwidth")
device_to_device_results_start = _FindIndexOfLineThatStartsWith(
lines, "Device to Device Bandwidth")
host_to_device_mean = _AverageResultsForSection(lines,
host_to_device_results_start)
device_to_host_mean = _AverageResultsForSection(lines,