aboutsummaryrefslogtreecommitdiff
path: root/tests/stress_tests/extractloop_plot_csv.m
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-07-16 21:18:59 +0200
committerJakob Unterwurzacher2016-07-16 21:20:54 +0200
commit0a3225b1ebb3a005886866ffd48c1260a57107c8 (patch)
tree6bc0ac3fca61a2ceabe9f3bc5aec3cf91fe024c9 /tests/stress_tests/extractloop_plot_csv.m
parent6b50f2debcc78448053b8b015b828833b2796db0 (diff)
tests: add RSS tracking to extractloop
This obsoletes loopback-mem.bash.
Diffstat (limited to 'tests/stress_tests/extractloop_plot_csv.m')
-rwxr-xr-xtests/stress_tests/extractloop_plot_csv.m11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/stress_tests/extractloop_plot_csv.m b/tests/stress_tests/extractloop_plot_csv.m
new file mode 100755
index 0000000..d6c164e
--- /dev/null
+++ b/tests/stress_tests/extractloop_plot_csv.m
@@ -0,0 +1,11 @@
+#!/usr/bin/octave
+
+r=csvread('/tmp/extractloop.csv');
+figure('Position',[100,100,1600,800]);
+plot(r(:,2), r(:,3)/1024, '-o');
+xlabel('seconds')
+ylabel('RSS MiB')
+grid on;
+drawnow;
+disp('press enter to exit');
+input('');