From 6bc1d2776832ce2f96d4d193d4084098a116f683 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 15 Sep 2024 11:45:32 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- benchmark.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'benchmark.c') 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 -- cgit v1.2.3-70-g09d2