milli to micro

This commit is contained in:
goksu 2023-08-07 15:11:28 +03:00
parent c3254394f3
commit 4bcd9711da
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -312,7 +312,7 @@
}
if ( done )
printf( "%10.1f ms %10d done\n",
printf( "%10.1f microseconds %10d done\n",
TIMER_GET( &timer ), done );
else
printf( "no error-free calls\n" );

View File

@ -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):
if baseline_line.startswith(" "):
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(
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: