diff options
author | Maria Matejka <mq@ucw.cz> | 2019-08-21 17:35:27 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-10-09 17:47:14 +0200 |
commit | 6dda6931d1d8f99d944d85770e235bfe75db0eb6 (patch) | |
tree | 80bfce4ca52ad7c93cbecdbb4cd5d94c74e7d2aa /proto/perf/config.Y | |
parent | 15a758378716a0af1d198c55d56a66da4ef08c93 (diff) |
Perf: allow testing with cached route attributes.
Diffstat (limited to 'proto/perf/config.Y')
-rw-r--r-- | proto/perf/config.Y | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/perf/config.Y b/proto/perf/config.Y index 60a96c11..7cab8333 100644 --- a/proto/perf/config.Y +++ b/proto/perf/config.Y @@ -31,6 +31,7 @@ perf_proto_start: proto_start PERF PERF_CFG->repeat = 4; PERF_CFG->threshold_max = 500 MS_; PERF_CFG->threshold_min = 1 MS_; + PERF_CFG->attrs_per_rte = 0; PERF_CFG->keep = 0; PERF_CFG->mode = PERF_MODE_IMPORT; }; @@ -48,6 +49,7 @@ perf_proto_item: | REPEAT NUM { PERF_CFG->repeat = $2; } | THRESHOLD MIN expr_us { PERF_CFG->threshold_min = $3; } | THRESHOLD MAX expr_us { PERF_CFG->threshold_max = $3; } + | ATTRIBUTES NUM { PERF_CFG->attrs_per_rte = $2; } | KEEP bool { PERF_CFG->keep = $2; } | MODE IMPORT { PERF_CFG->mode = PERF_MODE_IMPORT; } | MODE EXPORT { PERF_CFG->mode = PERF_MODE_EXPORT; } |