Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(533)

Unified Diff: physmem_alloc_analysis/gnuplot_script

Issue 1217243006: Analyze contiguous physical memory chunks that mmap system call gives (Closed) Base URL: https://github.com/acutebridge/rowhammer-test.git@phymem_alloc
Patch Set: More clean up Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « physmem_alloc_analysis/analyze.sh ('k') | physmem_alloc_analysis/make.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « physmem_alloc_analysis/analyze.sh ('k') | physmem_alloc_analysis/make.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698