mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Merge remote-tracking branch 'origin/mq-opt'
This commit is contained in:
@@ -38,6 +38,7 @@ perf_proto_start: proto_start PERF
|
||||
perf_proto:
|
||||
perf_proto_start proto_name '{'
|
||||
| perf_proto perf_proto_item ';'
|
||||
| perf_proto proto_item ';'
|
||||
;
|
||||
|
||||
perf_proto_item:
|
||||
|
@@ -29,7 +29,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
#define PLOG(msg, ...) log(L_INFO "Perf %s " msg, p->p.name, ##__VA_ARGS__)
|
||||
#define PLOG(msg, ...) log(L_INFO "Perf %s %s " msg, BIRD_VERSION, p->p.name, ##__VA_ARGS__)
|
||||
|
||||
static inline void
|
||||
random_data(void *p, uint len)
|
||||
@@ -206,6 +206,7 @@ perf_loop(void *data)
|
||||
p->exp++;
|
||||
}
|
||||
|
||||
rt_schedule_prune(P->main_channel->table);
|
||||
ev_schedule(p->loop);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user