From 675e4749c4ce6f8c09da2e6fe9a8a0fc390eaf19 Mon Sep 17 00:00:00 2001 From: Timo Kokkonen Date: Fri, 8 Oct 2010 21:39:21 +0300 Subject: [PATCH] Multiply count number argument with 1024 It's easier to give the argument when there is no need to give so big numbers. Signed-off-by: Timo Kokkonen --- membench.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/membench.c b/membench.c index 4aaa8b9..63a8ed5 100644 --- a/membench.c +++ b/membench.c @@ -27,9 +27,9 @@ int main(int argc, char *argv[]) iterations = 24; if (argc > 2) - count = atoi(argv[2]); + count = atoi(argv[2]) * 1024; else - count = 1024; + count = 1024 * 64; latcount = count / 10; printf("Doing %d runs with buffer size goin up to %dk\n", -- 2.45.0