Index: physmem_alloc_analysis/gnuplot_script |
diff --git a/cache_analysis/make.sh b/physmem_alloc_analysis/gnuplot_script |
old mode 100755 |
new mode 100644 |
similarity index 73% |
copy from cache_analysis/make.sh |
copy to physmem_alloc_analysis/gnuplot_script |
index 47f37886789f268bc7284e392a8bc0a855f8a16c..0e7a823dd1298e9f3a8ff7de2a5b85ff8b91b6cb |
--- a/cache_analysis/make.sh |
+++ b/physmem_alloc_analysis/gnuplot_script |
@@ -1,5 +1,3 @@ |
-#!/bin/bash |
- |
# Copyright 2015, Google, Inc. |
# |
# Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -14,8 +12,10 @@ |
# See the License for the specific language governing permissions and |
# limitations under the License. |
-set -eu |
- |
-cflags="-g -Wall -Werror -O2" |
+set style data histogram |
+set logscale y |
+set style fill solid 1.00 |
+set xlabel "physically contiguous chunk size (pages)" |
+set ylabel "number of chunks" |
-g++ $cflags cache_test_physaddr.cc -o cache_test_physaddr |
+plot 'contiguous_results' using 2:xticlabels(1) with histogram |