Changeset 080ee15


Ignore:
Timestamp:
Aug 14, 2020, 11:35:32 AM (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:
63fe427c
Parents:
2606a03
Message:

Added missing flags to readv benchmark

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/io/readv.cfa

    r2606a03 r080ee15  
    6969
    7070int main(int argc, char * argv[]) {
     71        int file_flags = 0;
    7172        unsigned num_io = 1;
    72         int file_flags = 0;
    7373        unsigned sublen = 16;
     74        unsigned nentries = 0;
    7475
    7576        bool subthrd = false;
     
    8990                {'i', "kpollcomplete", "If set, cluster polls fds for completions instead of relying on interrupts to get notifications, implies -o", kpollcp, parse_settrue},
    9091                {'l', "submitlength",  "Size of the buffer that stores ready submissions", sublen},
     92                {'r', "numentries",    "Number of entries each of the io_context have", nentries},
    9193                {'n', "numcontexts",   "Number of io_contexts to the cluster", num_io},
    9294        };
     
    112114        if(params.poll_submit  ) fixed_file = true;
    113115        if(params.poll_complete) odirect    = true;
     116
     117        params.num_ready = sublen;
     118        params.num_entries = nentries;
    114119
    115120        if(odirect) file_flags |= O_DIRECT;
Note: See TracChangeset for help on using the changeset viewer.