Ignore:
Timestamp:
Apr 18, 2021, 8:16:47 AM (6 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
4aa495f
Parents:
5f6a172
Message:

Fixed benchmarks after another change to getTimeNsec()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/readyQ/rq_bench.hpp

    r5f6a172 re54d0c3  
    4646        }
    4747
    48 uint64_t timeNsec() {
     48uint64_t timeHiRes() {
    4949        timespec curr;
    5050        clock_gettime( CLOCK_REALTIME, &curr );
     
    6060        for(;;) {
    6161                Sleeper::usleep(100000);
    62                 uint64_t end = timeNsec();
     62                uint64_t end = timeHiRes();
    6363                uint64_t delta = end - start;
    6464                if(is_tty) {
Note: See TracChangeset for help on using the changeset viewer.