| tChanged terminal to pngcairo with cpumodel info - numeric - C++ library with n… | |
| git clone git://src.adamsgaard.dk/numeric | |
| Log | |
| Files | |
| Refs | |
| LICENSE | |
| --- | |
| commit e94b15a943f4e6efbc0b4cdb7728d2753da139ee | |
| parent 71d70f0f1163fa42b607127f238c47cddd7049c2 | |
| Author: Anders Damsgaard Christensen <[email protected]> | |
| Date: Wed, 23 Jan 2013 20:41:52 +0100 | |
| Changed terminal to pngcairo with cpumodel info | |
| Diffstat: | |
| A matrixmul/cpumodel.sh | 4 ++++ | |
| M matrixmul/plot.gp | 4 ++-- | |
| 2 files changed, 6 insertions(+), 2 deletions(-) | |
| --- | |
| diff --git a/matrixmul/cpumodel.sh b/matrixmul/cpumodel.sh | |
| t@@ -0,0 +1,4 @@ | |
| +#!/bin/sh | |
| + | |
| +# Find the model name of the system CPU | |
| +cat /proc/cpuinfo | grep "model name" | tail -1 | cut -f 1 -d ':' --complement | |
| diff --git a/matrixmul/plot.gp b/matrixmul/plot.gp | |
| t@@ -1,8 +1,8 @@ | |
| -set terminal png size 1200,600 | |
| +set terminal pngcairo size 1200,600 | |
| set output "performance.png" | |
| set xlabel "Matrix side length" | |
| set ylabel "Execution time [s]" | |
| -set title "Matrix multiplication (".platform." ".threads." threads)" | |
| +set title "Matrix multiplication\n".platform.",".cpumodel.", ".threads." threa… | |
| #set log xy | |
| set grid | |
| set key outside |