Ignore:
Timestamp:
Jun 25, 2020, 1:37:33 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:
69fbc61
Parents:
c34ebf2
Message:

Fixed benchmark to use getTimeNsec

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/io/readv.cfa

    rc34ebf2 r8e27ac45  
    157157                                printf("Starting\n");
    158158                                bool is_tty = isatty(STDOUT_FILENO);
    159                                 start = getTime();
     159                                start = getTimeNsec();
    160160                                run = true;
    161161
     
    166166
    167167                                run = false;
    168                                 end = getTime();
     168                                end = getTimeNsec();
    169169                                printf("\nDone\n");
    170170                        }
Note: See TracChangeset for help on using the changeset viewer.