Changeset b813f53


Ignore:
Timestamp:
Jun 26, 2020, 5:08:10 PM (15 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
9bbbc8e
Parents:
359d12d
Message:

Improvement of handling of \r processing halts

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • benchmark/benchcltr.hfa

    r359d12d rb813f53  
    9696                end = getTimeNsec();
    9797                Duration delta = end - start;
    98                 if(is_tty) {
    99                         printf("\r%.1f", delta`ds);
     98                /*if(is_tty)*/ {
     99                        printf(" %.1f\r", delta`ds);
    100100                        fflush(stdout);
    101101                }
  • benchmark/readyQ/yield.cfa

    r359d12d rb813f53  
    102102                printf("Yields/sec/procs    : %'18.2lf\n", (((double)global_counter) / nprocs) / (end - start)`s);
    103103                printf("ns per yields/procs : %'18.2lf\n", ((double)(end - start)`ns) / (global_counter / nprocs));
    104 
     104                fflush(stdout);
    105105        }
    106106}
  • tools/perf/process_halts.sh

    r359d12d rb813f53  
    2828fi
    2929# split the wanted and unwanted output
    30 awk "/^Processor|^PH:[0-9]+ - [0-9]+ [0-9]+/ {print \$0 > \"$tmpfile\"; next}{print \$0; fflush()}"
     30awk "BEGIN{RS = \"[\n\r]\"}/^Processor|^PH:[0-9]+ - [0-9]+ [0-9]+/ {print \$0 > \"$tmpfile\"; next}{print \$0; fflush()}"
    3131
    3232# pass the data to the python scirpt
Note: See TracChangeset for help on using the changeset viewer.