summaryrefslogtreecommitdiff
path: root/proto/perf/perf.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2019-01-29 14:22:55 +0100
committerMaria Matejka <mq@ucw.cz>2019-01-31 15:05:40 +0100
commite85e37d91d0c5fca6cb7a3ea80fac582074c389d (patch)
tree23cf8fa32c1efde315d8be0be7a4390f66cf3313 /proto/perf/perf.c
parent7411b694c3ca9db4947f577f826b622ff23e570d (diff)
Perf: Prune the table after every loop to have clean state.
Diffstat (limited to 'proto/perf/perf.c')
-rw-r--r--proto/perf/perf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/perf/perf.c b/proto/perf/perf.c
index 07210a14..8412254a 100644
--- a/proto/perf/perf.c
+++ b/proto/perf/perf.c
@@ -206,6 +206,7 @@ perf_loop(void *data)
p->exp++;
}
+ rt_schedule_prune(P->main_channel->table);
ev_schedule(p->loop);
}