X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ucw%2Fsorter%2Fdebug%2Fradix-asio-test.c;h=257922702a9a73431f72e18d8c09ef33ece94abb;hb=6912c77a66798de162fe31f79581cd7b5c97f12c;hp=0301f35896e4a703e9545e1382e4914296ed9c1e;hpb=46a15649d1e544dce95f76424a4870d69caa955c;p=libucw.git diff --git a/ucw/sorter/debug/radix-asio-test.c b/ucw/sorter/debug/radix-asio-test.c index 0301f358..25792270 100644 --- a/ucw/sorter/debug/radix-asio-test.c +++ b/ucw/sorter/debug/radix-asio-test.c @@ -36,7 +36,7 @@ static struct asio_queue io_queue; int main(int argc, char **argv) { - uns files, bufsize; + uint files, bufsize; u64 total_size; if (argc != 4 || cf_parse_int(argv[1], (int*) &files) || @@ -47,7 +47,7 @@ int main(int argc, char **argv) return 1; } u64 cnt, cnt_rep; - uns cnt_ms; + uint cnt_ms; int fd[files]; byte name[files][16]; struct asio_request *req[files]; @@ -64,14 +64,14 @@ int main(int argc, char **argv) ASSERT(in_fd >= 0); ASSERT(!(total_size % bufsize)); P_INIT; - for (uns i=0; iop = ASIO_WRITE_BACK; r->fd = in_fd; r->len = bufsize; byte *xbuf = r->buffer; - for (uns j=0; j> 20), files, bufsize); P_INIT; - for (uns i=0; ibuffer, rd->buffer, bufsize); asio_put(rr); #else - for (uns j=0; jbuffer[j] = round+i+j; #endif r->op = ASIO_WRITE_BACK; @@ -124,7 +124,7 @@ int main(int argc, char **argv) req[i] = asio_get(&io_queue); } } - for (uns i=0; iop = ASIO_READ; @@ -155,7 +155,7 @@ int main(int argc, char **argv) } P_FINAL; - for (uns i=0; i