From: Maria Matejka Date: Tue, 29 Jan 2019 13:22:55 +0000 (+0100) Subject: Perf: Prune the table after every loop to have clean state. X-Git-Tag: v2.0.4~9^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e85e37d91d0c5fca6cb7a3ea80fac582074c389d;p=thirdparty%2Fbird.git Perf: Prune the table after every loop to have clean state. --- diff --git a/proto/perf/perf.c b/proto/perf/perf.c index 07210a147..8412254a6 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); }