Increase sort window
This commit is contained in:
parent
c6860854b4
commit
e3339fef3b
@ -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)
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user