Changeset 564148f for benchmark/readyQ


Ignore:
Timestamp:
Jun 24, 2020, 4:36:40 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
9791ab5
Parents:
d72c074
Message:

Improved printing on yield.cfa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/readyQ/yield.cfa

    rd72c074 r564148f  
    140140
    141141                printf("Took %'ld ms\n", (end - start)`ms);
     142                printf("Yields per second   : %'18.2lf\n", ((double)global_counter) / (end - start)`s);
     143                printf("ns per yields       : %'18.2lf\n", ((double)(end - start)`ns) / global_counter);
    142144                printf("Total yields        : %'15llu\n", global_counter);
    143145                printf("Yields per procs    : %'15llu\n", global_counter / nprocs);
    144                 printf("Yields per second   : %'18.2lf\n", ((double)global_counter) / (end - start)`s);
    145146                printf("Yields/sec/procs    : %'18.2lf\n", (((double)global_counter) / nprocs) / (end - start)`s);
    146                 printf("ns per yields       : %'18.2lf\n", ((double)(end - start)`ns) / global_counter);
    147147                printf("ns per yields/procs : %'18.2lf\n", ((double)(end - start)`ns) / (global_counter / nprocs));
    148148
Note: See TracChangeset for help on using the changeset viewer.