diff --git a/src/emu/ovnisort.c b/src/emu/ovnisort.c index ddb793a..47f3ecb 100644 --- a/src/emu/ovnisort.c +++ b/src/emu/ovnisort.c @@ -59,7 +59,7 @@ enum operation_mode { SORT, static char *tracedir = NULL; static enum operation_mode operation_mode = SORT; -static const size_t max_look_back = 100000; +static const size_t max_look_back = 1000000; static void ring_reset(struct ring *r) diff --git a/test/emu/ovni/sort-first-and-full-ring.c b/test/emu/ovni/sort-first-and-full-ring.c index bbb883e..98e5769 100644 --- a/test/emu/ovni/sort-first-and-full-ring.c +++ b/test/emu/ovni/sort-first-and-full-ring.c @@ -49,14 +49,14 @@ main(void) int64_t t0 = ovni_clock_now(); /* Leave some room to prevent clashes */ - usleep(10000); /* 10000000 ns */ + usleep(100000); /* 100000000 ns */ int64_t t1 = ovni_clock_now(); emit("OU[", t1); /* Fill the ring buffer */ - long n = 100000 + 10; + long n = 1000000 + 10; err("using n=%ld events\n", n);