bachelorThesis/report/figures/machine_time_waste.tex

30 lines
1.4 KiB
TeX
Raw Normal View History

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
w.r.t.\ task termination in 2011 and 2019 (all clusters aggregated) traces. The x-axis shows task termination type,
2021-05-19 20:20:49 +00:00
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}
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}