Changeset 665edf40 for benchmark/io


Ignore:
Timestamp:
Apr 19, 2021, 5:08:43 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
73d0c54a
Parents:
c8a0210 (diff), d2fadeb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
benchmark/io
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • benchmark/io/http/protocol.cfa

    rc8a0210 r665edf40  
    249249
    250250                char buff[100];
    251                 Time now = timeNsec();
     251                Time now = timeHiRes();
    252252                strftime( buff, 100, "%a, %d %b %Y %H:%M:%S %Z", now );
    253253                sout | "Updated date to '" | buff | "'";
  • benchmark/io/readv-posix.c

    rc8a0210 r665edf40  
    111111                                printf("Starting\n");
    112112                                bool is_tty = isatty(STDOUT_FILENO);
    113                                 start = timeNsec();
     113                                start = timeHiRes();
    114114                                run = true;
    115115
     
    118118
    119119                                run = false;
    120                                 end = timeNsec();
     120                                end = timeHiRes();
    121121                                printf("\nDone\n");
    122122
  • benchmark/io/readv.cfa

    rc8a0210 r665edf40  
    147147                                printf("Starting\n");
    148148                                bool is_tty = isatty(STDOUT_FILENO);
    149                                 start = timeNsec();
     149                                start = timeHiRes();
    150150                                run = true;
    151151
     
    156156
    157157                                run = false;
    158                                 end = timeNsec();
     158                                end = timeHiRes();
    159159                                printf("\nDone\n");
    160160                        }
Note: See TracChangeset for help on using the changeset viewer.