milli to micro
This commit is contained in:
parent
c3254394f3
commit
4bcd9711da
|
@ -312,7 +312,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( done )
|
if ( done )
|
||||||
printf( "%10.1f ms %10d done\n",
|
printf( "%10.1f microseconds %10d done\n",
|
||||||
TIMER_GET( &timer ), done );
|
TIMER_GET( &timer ), done );
|
||||||
else
|
else
|
||||||
printf( "no error-free calls\n" );
|
printf( "no error-free calls\n" );
|
||||||
|
|
|
@ -132,10 +132,10 @@ def generate_results_table(html_file, baseline_results, benchmark_results, filen
|
||||||
for baseline_line, benchmark_line in zip(baseline_results, benchmark_results):
|
for baseline_line, benchmark_line in zip(baseline_results, benchmark_results):
|
||||||
if baseline_line.startswith(" "):
|
if baseline_line.startswith(" "):
|
||||||
baseline_match = re.match(
|
baseline_match = re.match(
|
||||||
r"\s+(.*?)\s+(\d+\.\d+)\s+ms\s+(\d+)\s", baseline_line
|
r"\s+(.*?)\s+(\d+\.\d+)\s+microseconds\s+(\d+)\s", baseline_line
|
||||||
)
|
)
|
||||||
benchmark_match = re.match(
|
benchmark_match = re.match(
|
||||||
r"\s+(.*?)\s+(\d+\.\d+)\s+ms\s+(\d+)\s", benchmark_line
|
r"\s+(.*?)\s+(\d+\.\d+)\s+microseconds\s+(\d+)\s", benchmark_line
|
||||||
)
|
)
|
||||||
|
|
||||||
if baseline_match and benchmark_match:
|
if baseline_match and benchmark_match:
|
||||||
|
|
Loading…
Reference in New Issue