aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark.c')
-rw-r--r--benchmark.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/benchmark.c b/benchmark.c
index 488d892..eec02ba 100644
--- a/benchmark.c
+++ b/benchmark.c
@@ -16,14 +16,21 @@
#endif
+#ifndef L
+# define L 6
+#endif
+#ifndef STATE
+# define STATE (25 << (L))
+#endif
+
#ifndef BITRATE
-# define BITRATE 1024
+# define BITRATE (16 << (L))
#endif
#ifndef CAPACITY
-# define CAPACITY 576
+# define CAPACITY ((STATE) - (BITRATE))
#endif
#ifndef OUTPUT
-# define OUTPUT 512
+# define OUTPUT ((BITRATE) / 2)
#endif
#ifndef UPDATE_RUNS