INF205/lab_2/11/time_N.nu

7 lines
223 B
Plaintext
Raw Permalink Normal View History

2024-02-27 17:42:20 +00:00
for x in [1024 512 256 128 64 32 16 8 4 2] {
let filename = 'const_m_timings.csv';
$x | into string | save --append $filename;
", " | save --append $filename;
let m = 2000000;
time -f %e -a -o $filename ./memleak $x $m;
};