summaryrefslogtreecommitdiffstats
path: root/bench/bench_lru.c
diff options
context:
space:
mode:
Diffstat (limited to 'bench/bench_lru.c')
-rw-r--r--bench/bench_lru.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bench/bench_lru.c b/bench/bench_lru.c
index 63bbeebd..237be669 100644
--- a/bench/bench_lru.c
+++ b/bench/bench_lru.c
@@ -33,6 +33,10 @@ typedef kr_nsrep_lru_t lru_bench_t;
} while (0)
#define p_err(...) fprintf(stderr, __VA_ARGS__)
+#ifndef LRU_RTT_SIZE
+#define LRU_RTT_SIZE 65536 /**< NS RTT cache size */
+#endif
+
static int die(const char *cause)
{
fprintf(stderr, "%s: %s\n", cause, strerror(errno));