summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@dodonov.net>2012-01-06 17:03:55 -0200
committerEugeni Dodonov <eugeni@dodonov.net>2012-01-06 17:03:55 -0200
commit970efe70a410c0ad82b15f1aa411899b3c49df02 (patch)
treec3a42872c6f5ea0a81283b46a8fe31fb92beb7c7
parentdf057c0e1aceabf411345a6b1c5a683a2afab002 (diff)
scripts: add profile_trace scriptsintel_stats
Those are tiny scripts to help with gnuplot charts building
-rwxr-xr-xscripts/profile_trace/plot_both.sh2
-rwxr-xr-xscripts/profile_trace/plot_cpu.sh3
-rwxr-xr-xscripts/profile_trace/plot_gpu.sh3
3 files changed, 8 insertions, 0 deletions
diff --git a/scripts/profile_trace/plot_both.sh b/scripts/profile_trace/plot_both.sh
new file mode 100755
index 0000000..fa21c46
--- /dev/null
+++ b/scripts/profile_trace/plot_both.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+echo "pl '$1' u 2:6 w l title 'GPU', '$1' u 2:8 w l title 'CPU'" | gnuplot -p
diff --git a/scripts/profile_trace/plot_cpu.sh b/scripts/profile_trace/plot_cpu.sh
new file mode 100755
index 0000000..662b73b
--- /dev/null
+++ b/scripts/profile_trace/plot_cpu.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+# echo "pl '$1' u 2:6 w l title 'GPU', '$1' u 2:8 w l title 'CPU'" | gnuplot -p
+echo "pl '$1' u 2:8 w l title 'GPU'" | gnuplot -p
diff --git a/scripts/profile_trace/plot_gpu.sh b/scripts/profile_trace/plot_gpu.sh
new file mode 100755
index 0000000..0869d36
--- /dev/null
+++ b/scripts/profile_trace/plot_gpu.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+# echo "pl '$1' u 2:6 w l title 'GPU', '$1' u 2:8 w l title 'CPU'" | gnuplot -p
+echo "pl '$1' u 2:6 w l title 'GPU usage'" | gnuplot -p