39 lines
2.1 KiB
TeX
39 lines
2.1 KiB
TeX
\newcommand{\spatialresourcewaste}[2][0.33\textwidth]{
|
|
\begin{subfigure}{#1}
|
|
%\ifnum#1=1 \hspace{0.25\textwidth} \fi
|
|
\resizebox{\textwidth}{!}{%
|
|
\input{figures/spatial_resource_waste/#2.pgf}}
|
|
%\hfill
|
|
\end{subfigure}}
|
|
|
|
\begin{figure}
|
|
\spatialresourcewaste[0.5\textwidth]{used-2011}
|
|
\spatialresourcewaste[0.5\textwidth]{used-all}
|
|
\caption{Percentages of CPU and RAM resources used by tasks w.r.t. task termination type in 2011 and 2019 traces (average of clusters A to D). The x axis is the type of resource, y-axis is the percentage of resource used and color represents task termination. Numeric values are displayed below the graph as a table.}\label{fig:spatialresourcewaste-requested}
|
|
\end{figure}
|
|
|
|
\begin{figure}
|
|
\spatialresourcewaste{used-a}
|
|
\spatialresourcewaste{used-b}
|
|
\spatialresourcewaste{used-c}
|
|
\spatialresourcewaste{used-d}
|
|
\caption{Percentages of CPU and RAM resources used by tasks w.r.t. task termination type for clusters A to D in 2019 traces. Refer to figure~\ref{fig:spatialresourcewaste-requested} for plot explaination.}\label{fig:spatialresourcewaste-actual-csts}
|
|
\end{figure}
|
|
|
|
\begin{figure}
|
|
\spatialresourcewaste[0.5\textwidth]{requested-2011}
|
|
\spatialresourcewaste[0.5\textwidth]{requested-all}
|
|
\caption{Percentages of CPU and RAM resources requested by tasks w.r.t. task termination type in 2011 and 2019 traces. The x axis is the type of resource, y-axis is the percentage of resource used and color represents task termination. Numeric values are displayed below the graph as a table.}\label{fig:spatialresourcewaste-actual}
|
|
\end{figure}
|
|
|
|
\begin{figure}
|
|
\spatialresourcewaste{requested-a}
|
|
\spatialresourcewaste{requested-b}
|
|
\spatialresourcewaste{requested-c}
|
|
\spatialresourcewaste{requested-d}
|
|
\spatialresourcewaste{requested-e}
|
|
\spatialresourcewaste{requested-f}
|
|
\spatialresourcewaste{requested-g}
|
|
\spatialresourcewaste{requested-h}
|
|
\caption{Percentages of CPU and RAM resources requested by tasks w.r.t. task termination type for in 2019 traces. Refer to figure~\ref{fig:spatialresourcewaste-requested} for plot explaination.}\label{fig:spatialresourcewaste-actual-csts}
|
|
\end{figure}
|