Add wallclock-time plots
This commit is contained in:
40
plots/wallclock_time.tex
Normal file
40
plots/wallclock_time.tex
Normal file
@@ -0,0 +1,40 @@
|
||||
\begin{tikzpicture}
|
||||
\pgfplotstableread[col sep=comma]{plots/wallclock_time.csv}\csv
|
||||
\begin{axis}[
|
||||
width=10cm,
|
||||
height=4cm,
|
||||
ybar=1pt,
|
||||
bar width = 5pt,
|
||||
ymin=0,
|
||||
ymax=1e4,
|
||||
ymode=log,
|
||||
ymajorgrids,
|
||||
ylabel={Runtime [s]},
|
||||
tick pos=left,
|
||||
xtick=data,
|
||||
xticklabels from table={\csv}{system},
|
||||
enlarge x limits=0.5,
|
||||
legend style={
|
||||
at={(current bounding box.south-|current axis.south)},
|
||||
anchor=north,
|
||||
legend columns=-1,
|
||||
draw=none,
|
||||
/tikz/every even column/.append style={column sep=0.5cm}
|
||||
},
|
||||
]
|
||||
\addplot[fill=_darkblue!90] table [x expr=\coordindex, y={vadd}]{\csv};
|
||||
\addlegendentry{VADD}
|
||||
|
||||
\addplot[fill=_blue!90] table [x expr=\coordindex, y={vmul}]{\csv};
|
||||
\addlegendentry{VMUL}
|
||||
|
||||
\addplot[fill=_green!90] table [x expr=\coordindex, y={haxpy}]{\csv};
|
||||
\addlegendentry{HAXPY}
|
||||
|
||||
\addplot[fill=_orange!90] table [x expr=\coordindex, y={gemv}]{\csv};
|
||||
\addlegendentry{GEMV}
|
||||
|
||||
\addplot[fill=yellow!90] table [x expr=\coordindex, y={dnn}]{\csv};
|
||||
\addlegendentry{DNN}
|
||||
\end{axis}
|
||||
\end{tikzpicture}
|
||||
Reference in New Issue
Block a user