X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fsorter%2Fsort-test.c;h=5fcbbaf74e65c71de9a9d48cdd75e5c0de04fffe;hb=1f05348cde42852d77da3457b96a33dff1600ca4;hp=3eb2147e65ba94791083b955acff2acf11b81cd8;hpb=14e105850c5d3451a44fc50f2814683c0df3ae1b;p=libucw.git diff --git a/lib/sorter/sort-test.c b/lib/sorter/sort-test.c index 3eb2147e..5fcbbaf7 100644 --- a/lib/sorter/sort-test.c +++ b/lib/sorter/sort-test.c @@ -24,6 +24,7 @@ /*** Time measurement ***/ static timestamp_t timer; +static uns test_id; static void start(void) @@ -36,7 +37,7 @@ static void stop(void) { sync(); - msg(L_INFO, "Test took %.3fs", get_timer(&timer) / 1000.); + msg(L_INFO, "Test %d took %.3fs", test_id, get_timer(&timer) / 1000.); } /*** Simple 4-byte integer keys ***/ @@ -606,6 +607,7 @@ test_int64(int mode, u64 size) static void run_test(uns i, u64 size) { + test_id = i; switch (i) { case 0: