freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][GSoC-2023-Ahmet] milli to micro


From: @goksu
Subject: [Git][freetype/freetype][GSoC-2023-Ahmet] milli to micro
Date: Mon, 07 Aug 2023 12:11:39 +0000

Ahmet Göksu pushed to branch GSoC-2023-Ahmet at FreeType / FreeType

Commits:

  • 4bcd9711
    by goksu at 2023-08-07T15:11:28+03:00
    milli to micro
    

2 changed files:

Changes:

  • src/tools/ftbench/ftbench.c
    ... ... @@ -312,7 +312,7 @@
    312 312
         }
    
    313 313
     
    
    314 314
         if ( done )
    
    315
    -      printf( "%10.1f ms %10d done\n",
    
    315
    +      printf( "%10.1f microseconds %10d done\n",
    
    316 316
                   TIMER_GET( &timer ), done );
    
    317 317
         else
    
    318 318
           printf( "no error-free calls\n" );
    

  • src/tools/ftbench/src/tohtml.py
    ... ... @@ -132,10 +132,10 @@ def generate_results_table(html_file, baseline_results, benchmark_results, filen
    132 132
         for baseline_line, benchmark_line in zip(baseline_results, benchmark_results):
    
    133 133
             if baseline_line.startswith("  "):
    
    134 134
                 baseline_match = re.match(
    
    135
    -                r"\s+(.*?)\s+(\d+\.\d+)\s+ms\s+(\d+)\s", baseline_line
    
    135
    +                r"\s+(.*?)\s+(\d+\.\d+)\s+microseconds\s+(\d+)\s", baseline_line
    
    136 136
                 )
    
    137 137
                 benchmark_match = re.match(
    
    138
    -                r"\s+(.*?)\s+(\d+\.\d+)\s+ms\s+(\d+)\s", benchmark_line
    
    138
    +                r"\s+(.*?)\s+(\d+\.\d+)\s+microseconds\s+(\d+)\s", benchmark_line
    
    139 139
                 )
    
    140 140
     
    
    141 141
                 if baseline_match and benchmark_match:
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]