Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/io/readv.cfa

    r038be32 r1bcdeff  
    1818
    1919extern bool traceHeapOn();
    20 extern ssize_t cfa_preadv2(int fd, const struct iovec *iov, int iovcnt, off_t offset, int flags);
     20extern ssize_t async_preadv2(int fd, const struct iovec *iov, int iovcnt, off_t offset, int flags);
    2121
    2222int fd;
     
    3434
    3535        while(__atomic_load_n(&run, __ATOMIC_RELAXED)) {
    36                 cfa_preadv2(fd, &iov, 1, 0, 0);
     36                async_preadv2(fd, &iov, 1, 0, 0);
    3737                __atomic_fetch_add( &count, 1, __ATOMIC_SEQ_CST );
    3838        }
     
    4040
    4141int main(int argc, char * argv[]) {
    42         #if !defined(__CFA_NO_STATISTICS__)
    43                 print_stats_at_exit( *active_cluster() );
    44         #endif
    45 
    4642        double duration   = 5.0;
    4743        unsigned long int nthreads = 2;
     
    5046        printf("Setting local\n");
    5147        setlocale(LC_NUMERIC, "");
     48
    5249
    5350        arg_loop:
Note: See TracChangeset for help on using the changeset viewer.