2021-05-12 12:15:49 +00:00
\newcommand { \machinetimewaste } [3][0]{
2021-05-19 19:04:11 +00:00
\begin { subfigure} { \ifnum #1=1 0.5\textwidth \else 0.33\textwidth \fi }
2021-05-12 12:15:49 +00:00
\vspace { 0.5cm}
\begin { minipage} [c]{ \textwidth } %
2021-05-19 19:04:11 +00:00
\resizebox { \textwidth } { !} { \input { figures/machine_ time_ waste/#3} }
2021-05-12 12:15:49 +00:00
\end { minipage}
\end { subfigure} }
2021-05-20 15:30:06 +00:00
\begin { figure} [p]
2021-05-19 19:04:11 +00:00
\machinetimewaste [1] { 2011 data} { cluster_ 2011.pgf}
\machinetimewaste [1] { 2019 data} { cluster_ all.pgf}
2021-06-13 19:59:10 +00:00
\caption { Relative task time spent in each execution phase
2021-06-24 15:01:33 +00:00
w.r.t.\ task termination in 2011 and 2019 (all clusters aggregated) traces. The x-axis shows task termination type, while the y-axis shows total time \% spent. Colors break down the time in execution phases. ``Unknown'' execution times are
2021-05-19 20:20:49 +00:00
2019 specific and correspond to event time transitions that are not consider ``typical'' by Google.} \label { fig:machinetimewaste-rel}
2021-05-12 12:15:49 +00:00
\end { figure}
2021-05-20 15:30:06 +00:00
\begin { figure} [p]
2021-05-19 19:04:11 +00:00
\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}
2021-06-13 19:59:10 +00:00
\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}
2021-05-12 12:15:49 +00:00
\end { figure}