Changeset 080ee15
- Timestamp:
- Aug 14, 2020, 11:35:32 AM (4 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/io/readv.cfa
r2606a03 r080ee15 69 69 70 70 int main(int argc, char * argv[]) { 71 int file_flags = 0; 71 72 unsigned num_io = 1; 72 int file_flags = 0;73 73 unsigned sublen = 16; 74 unsigned nentries = 0; 74 75 75 76 bool subthrd = false; … … 89 90 {'i', "kpollcomplete", "If set, cluster polls fds for completions instead of relying on interrupts to get notifications, implies -o", kpollcp, parse_settrue}, 90 91 {'l', "submitlength", "Size of the buffer that stores ready submissions", sublen}, 92 {'r', "numentries", "Number of entries each of the io_context have", nentries}, 91 93 {'n', "numcontexts", "Number of io_contexts to the cluster", num_io}, 92 94 }; … … 112 114 if(params.poll_submit ) fixed_file = true; 113 115 if(params.poll_complete) odirect = true; 116 117 params.num_ready = sublen; 118 params.num_entries = nentries; 114 119 115 120 if(odirect) file_flags |= O_DIRECT;
Note: See TracChangeset
for help on using the changeset viewer.