From c0a88a9f5d7187cd9920d3c0b34c39cfbfcf5403 Mon Sep 17 00:00:00 2001 From: Nils Kasulke Date: Mon, 20 Apr 2020 20:05:25 +0200 Subject: [PATCH] comment --- cache_benchmark/cache.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cache_benchmark/cache.c b/cache_benchmark/cache.c index 0e41a27..dc59865 100644 --- a/cache_benchmark/cache.c +++ b/cache_benchmark/cache.c @@ -53,6 +53,7 @@ int main(int argc, char* argv[]) { per_instruct_ticks = per_instruct_ticks - rc; printf("%u, %u, %lf, %lf\n", n_bytes, array_size, clocks_to_ns(per_instruct_ticks), clocks_to_ns(rc)); int_to_dev_null(tmp); + //free not necessary } double clocks_to_ns(double ct) { return ct / CLOCKS_PER_SEC * 1000000000.0; @@ -101,7 +102,7 @@ double clock_ticks_rand() { for(size_t i=0; i