28 lines
1.1 KiB
TeX
28 lines
1.1 KiB
TeX
\newcommand{\machinetimewaste}[3][0]{
|
|
\begin{subfigure}{\ifnum#1=1 0.5\textwidth \else 0.33\textwidth \fi}
|
|
\vspace{0.5cm}
|
|
%\ifnum#1=1 \hspace{0.25\textwidth} \fi
|
|
\begin{minipage}[c]{\textwidth}%
|
|
\resizebox{\textwidth}{!}{\input{figures/machine_time_waste/#3}}
|
|
\end{minipage}
|
|
%\hfill
|
|
%\caption{#2}
|
|
\end{subfigure}}
|
|
|
|
\begin{figure}
|
|
\machinetimewaste[1]{2011 data}{cluster_2011.pgf}
|
|
\machinetimewaste[1]{2019 data}{cluster_all.pgf}
|
|
\caption{Relative task time (in milliseconds) spent in each execution phase w.r.t. task termination.}\label{fig:machinetimewaste-rel}
|
|
\end{figure}
|
|
|
|
\begin{figure}
|
|
\machinetimewaste{Cluster A}{cluster_a.pgf}
|
|
\machinetimewaste{Cluster B}{cluster_b.pgf}
|
|
\machinetimewaste{Cluster C}{cluster_c.pgf}
|
|
\machinetimewaste{Cluster D}{cluster_d.pgf}
|
|
\machinetimewaste{Cluster E}{cluster_e.pgf}
|
|
\machinetimewaste{Cluster F}{cluster_f.pgf}
|
|
\machinetimewaste{Cluster G}{cluster_g.pgf}
|
|
\machinetimewaste{Cluster H}{cluster_h.pgf}
|
|
\caption{Relative task time (in milliseconds) spent in each execution phase w.r.t. task termination.}\label{fig:machinetimewaste-rel-csts}
|
|
\end{figure}
|