INF205/lab_2/10_memleak/time_Nm.nu
2024-02-27 18:37:22 +01:00

6 lines
187 B
Plaintext

for x in [1024 512 256 128 64 32 16 8 4 2] {
$x | into string | save --append log.csv;
", " | save --append log.csv;
let m = 2048000000 / $x;
time -f %e -a -o log.csv ./memleak $x $m;
};