29 lines
1.4 KiB
TeX
29 lines
1.4 KiB
TeX
\newcommand{\machinetimewaste}[3][0]{
|
|
\begin{subfigure}{\ifnum#1=1 0.5\textwidth \else 0.33\textwidth \fi}
|
|
\vspace{0.5cm}
|
|
\begin{minipage}[c]{\textwidth}%
|
|
\resizebox{\textwidth}{!}{\input{figures/machine_time_waste/#3}}
|
|
\end{minipage}
|
|
\end{subfigure}}
|
|
|
|
\begin{figure}[p]
|
|
\machinetimewaste[1]{2011 data}{cluster_2011.pgf}
|
|
\machinetimewaste[1]{2019 data}{cluster_all.pgf}
|
|
\caption{Relative task time spent in each execution phase
|
|
w.r.t.\ task termination in 2011 and 2019 (all clusters aggregated) traces. The x-axis shows task termination type,
|
|
Y axis shows total time \% spent. Colors break down the time in execution phases. ``Unknown'' execution times are
|
|
2019 specific and correspond to event time transitions that are not consider ``typical'' by Google.}\label{fig:machinetimewaste-rel}
|
|
\end{figure}
|
|
|
|
\begin{figure}[p]
|
|
\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 spent in each execution phase w.r.t. clusters in the
|
|
2019 trace. Refer to Figure~\ref{fig:machinetimewaste-rel} for axes description.}\label{fig:machinetimewaste-rel-csts}
|
|
\end{figure}
|