I tried to do this by setting latency iterations, but malloc fails for larger (> 10,000,000) latency iterations. Failed to allocate perf_vals in random_ring()