Update on Overleaf.

This commit is contained in:
Matthias Jung
2024-11-14 13:25:05 +00:00
committed by node
parent 228485184a
commit fac73b6272
5 changed files with 280 additions and 91 deletions

57
img/benchmark_plot.tex Normal file
View File

@@ -0,0 +1,57 @@
% \begin{tikzpicture}
% \begin{axis}[
% ybar,
% symbolic x coords={nopower-nostore, power-nostore, nopower-store, power-store},
% xtick=data,
% xlabel={Benchmark},
% ylabel={CPU Time [ms]},
% nodes near coords,
% ymin=0,
% width=15cm,
% height=5cm,
% bar width=20pt,
% enlarge x limits=0.2,
% ytick=\empty,
% axis line style={-} ,
% ymin=0,
% enlarge y limits={value=0.3,upper},
% % every node near coord/.append style={yshift=-0.4cm, xshift=23pt},
% ]
% \addplot[
% color=blue,
% fill=blue!40
% ] table[
% x=Name,
% y=CPU_Time_ms,
% col sep=comma
% ] {data/benchmarks.csv};
% \end{axis}
% \end{tikzpicture}
\pgfplotsset{compat=1.3}
\begin{tikzpicture}
\begin{axis}[
xbar,
symbolic y coords={nopower-nostore, power-nostore, nopower-store, power-store},
xtick=data,
ylabel={Benchmark},
xlabel={CPU Time [ms]},
nodes near coords,
width=8cm,
height=4cm,
bar width=8pt,
enlarge y limits=0.2,
enlarge x limits=0.5,
xtick=\empty,
axis line style={-} ,
ytick style={draw=none},
]
\addplot[
color=blue,
fill=blue!40
] table[
y=Name,
x=CPU_Time_ms,
col sep=comma
] {data/benchmarks.csv};
\end{axis}
\end{tikzpicture}

View File

@@ -92,12 +92,12 @@
% Legend
\begin{scope}
\draw[green!50,line width=0.9pt] (-0.15, -8) -- (0.15, -8);
\node[anchor=west] at (0.2,-8) {Datasheet IDDs};
\node[anchor=west] at (0.2,-8) {Sim. Datasheet IDDs};
\draw[red!50,line width=0.9pt] (3.4-0.15, -8) -- (3.4+0.15, -8);
\node[anchor=west] at (3.6,-8) {Sim. Measured IDDs};
\draw[blue!50,line width=0.9pt] (-0.15, -8.5) -- (0.15, -8.5);
\node[anchor=west] at (0.2,-8.5) {Measurements};
\draw[red!50,line width=0.9pt] (3.8-0.15, -8) -- (3.8+0.15, -8);
\node[anchor=west] at (4.0,-8) {Real IDDs};
\node[anchor=west] at (0.2,-8.5) {Measurement};
\end{scope}
\end{tikzpicture}%