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