From 5d956c04461294a157bc9cd6e64115f07d835a36 Mon Sep 17 00:00:00 2001
From: Yann Herklotz <git@yannherklotz.com>
Date: Tue, 13 Apr 2021 13:36:17 +0100
Subject: Add new graphs

---
 evaluation.tex | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

(limited to 'evaluation.tex')

diff --git a/evaluation.tex b/evaluation.tex
index 2503c3a..3f611cd 100644
--- a/evaluation.tex
+++ b/evaluation.tex
@@ -25,8 +25,8 @@ We configured Polybench's parameters so that only integer types are used, since
 
 \subsection{RQ1: How fast is \vericert{}-generated hardware?}
 
-\pgfplotstableread[col sep=comma]{results/legup_results_div/vericert_timing.csv}{\divtimingtable}
-\pgfplotstableread[col sep=comma]{results/slice-div.csv}{\divslicetable}
+\pgfplotstableread[col sep=comma]{results/rel-time-div.csv}{\divtimingtable}
+\pgfplotstableread[col sep=comma]{results/rel-size-div.csv}{\divslicetable}
 \begin{figure}\centering
   \begin{tikzpicture}
     \begin{groupplot}[
@@ -56,26 +56,26 @@ We configured Polybench's parameters so that only integer types are used, since
       ylabel style={font=\footnotesize},
       ]
 
-      \nextgroupplot[ymin=0.005,ylabel={\legup{} / \vericert{} execution time ratio}]
-      \addplot+ table [x expr=\coordindex,y=no opt no chain,col sep=comma] from \divtimingtable;
-      \addplot+ table [x expr=\coordindex,y=no opt,col sep=comma] from \divtimingtable;
-      \addplot+ table [x expr=\coordindex,y=opt,col sep=comma] from \divtimingtable;
+      \nextgroupplot[ymin=0.8,ylabel={\legup{} / \vericert{} execution time ratio}]
+      \addplot+ table [x expr=\coordindex,y=vericert,col sep=comma] from \divtimingtable;
+      \addplot+ table [x expr=\coordindex,y=legup noopt nochain,col sep=comma] from \divtimingtable;
+      \addplot+ table [x expr=\coordindex,y=legup noopt,col sep=comma] from \divtimingtable;
       \draw (axis cs:-1,1) -- (axis cs:26,1);
 
       \nextgroupplot[ymin=0.1,ylabel={\legup{} / \vericert{} slice ratio}]
+      \addplot+ table [x expr=\coordindex,y=vericert,col sep=comma] from \divslicetable;
       \addplot+ table [x expr=\coordindex,y=legup noopt nochain,col sep=comma] from \divslicetable;
       \addplot+ table [x expr=\coordindex,y=legup noopt,col sep=comma] from \divslicetable;
-      \addplot+ table [x expr=\coordindex,y=legup,col sep=comma] from \divslicetable;
       \draw (axis cs:-1,1) -- (axis cs:26,1);
 
-      \legend{\legup{} w/o opt/chain,\legup{} w/o opt,\legup{}};
+      \legend{\vericert{},\legup{} w/o opt/chain,\legup{} w/o opt};
     \end{groupplot}
   \end{tikzpicture}
   \caption{Polybench with division enabled.}
 \end{figure}
 
-\pgfplotstableread[col sep=comma]{results/exec-time.csv}{\nodivtimingtable}
-\pgfplotstableread[col sep=comma]{results/slice-nodiv.csv}{\nodivslicetable}
+\pgfplotstableread[col sep=comma]{results/rel-time-nodiv.csv}{\nodivtimingtable}
+\pgfplotstableread[col sep=comma]{results/rel-size-nodiv.csv}{\nodivslicetable}
 \begin{figure}\centering
   \begin{tikzpicture}
     \begin{groupplot}[
@@ -100,22 +100,22 @@ We configured Polybench's parameters so that only integer types are used, since
       xtick=data,
       enlarge x limits={abs=0.5},
       ylabel style={font=\footnotesize},
-      ymin=0.1,
+      ymin=0.5,
       ]
 
       \nextgroupplot[ylabel={\legup{} / \vericert{} execution time ratio}]
-      \addplot+ table [x expr=\coordindex,y=v no nc,col sep=comma] from \nodivtimingtable;
-      \addplot+ table [x expr=\coordindex,y=v no,col sep=comma] from \nodivtimingtable;
-      \addplot+ table [x expr=\coordindex,y=v op,col sep=comma] from \nodivtimingtable;
+      \addplot+ table [x expr=\coordindex,y=vericert,col sep=comma] from \nodivtimingtable;
+      \addplot+ table [x expr=\coordindex,y=legup noopt nochain,col sep=comma] from \nodivtimingtable;
+      \addplot+ table [x expr=\coordindex,y=legup noopt,col sep=comma] from \nodivtimingtable;
       \draw (axis cs:-1,1) -- (axis cs:26,1);
 
       \nextgroupplot[ylabel={\legup{} / \vericert{} slice ratio}]
+      \addplot+ table [x expr=\coordindex,y=vericert,col sep=comma] from \nodivslicetable;
       \addplot+ table [x expr=\coordindex,y=legup noopt nochain,col sep=comma] from \nodivslicetable;
       \addplot+ table [x expr=\coordindex,y=legup noopt,col sep=comma] from \nodivslicetable;
-      \addplot+ table [x expr=\coordindex,y=legup,col sep=comma] from \nodivslicetable;
       \draw (axis cs:-1,1) -- (axis cs:26,1);
 
-      \legend{\legup{} w/o opt/chain,\legup{} w/o opt,\legup{}};
+      \legend{\vericert{},\legup{} w/o opt/chain,\legup{} w/o opt};
     \end{groupplot}
   \end{tikzpicture}
   \caption{Polybench with division replaced by iterative division algorithm.}
-- 
cgit 

