X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fsorter%2Fdebug%2Fradix-file-test.c;h=94d1595a47f8686bffb7713cedb2541c050632fd;hb=959566090f98dd31eaa67d3d5959b641e5fe902b;hp=46d1bb4c94dbfe897a9ef4c9039e54ec6610fee2;hpb=44feaeb65636c36e71fa1fd79710aa746867c17e;p=libucw.git diff --git a/ucw/sorter/debug/radix-file-test.c b/ucw/sorter/debug/radix-file-test.c index 46d1bb4c..94d1595a 100644 --- a/ucw/sorter/debug/radix-file-test.c +++ b/ucw/sorter/debug/radix-file-test.c @@ -4,9 +4,9 @@ * (c) 2007 Martin Mares */ -#include "ucw/lib.h" -#include "ucw/conf.h" -#include "ucw/lfs.h" +#include +#include +#include #include #include @@ -31,7 +31,7 @@ static timestamp_t timer; 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) || @@ -42,10 +42,10 @@ int main(int argc, char **argv) return 1; } u64 cnt, cnt_rep; - uns cnt_ms; + uint cnt_ms; int fd[files]; byte *buf[files], name[files][16]; - uns xbufsize = bufsize; // Used for single-file I/O + uint xbufsize = bufsize; // Used for single-file I/O byte *xbuf = big_alloc(xbufsize); init_timer(&timer); @@ -56,11 +56,11 @@ int main(int argc, char **argv) ASSERT(in_fd >= 0); ASSERT(!(total_size % xbufsize)); P_INIT; - for (uns i=0; i> 20), files, bufsize); P_INIT; - for (uns r=0; r