\newcommand{\tableIII}[2]{
	\begin{subfigure}{0.49\textwidth}
	\vspace{0.5cm}
	\begin{minipage}[c]{\textwidth}%
	\resizebox{\textwidth}{!}{#2}
	\end{minipage}
	\hfill
	\caption{Cluster #1}
	\end{subfigure}}

\newcommand{\tableIIIh}{%
\multirow{2}{*}{\parbox{1.5cm}{\centering{Task \\ termination}}}
& \multicolumn{5}{c}{Mean number of events} \\
& Overall (95-th perc.) &
EVICT & FAIL & FINISH & KILL \\}

\begin{figure}[p]
\begin{subfigure}{\textwidth}
	\centering
\begin{tabular}{lrrrrr}
\toprule
\tableIIIh
\midrule
           EVICT &                   428.55 (2924) &               73.69 &               0.77 &                 0.00 &              28.77 \\
            FAIL &                     50.04 (108) &                0.29 &              11.06 &                 0.00 &               0.47 \\
          FINISH &                       12.41 (9) &                0.02 &               0.00 &                 2.15 &               0.01 \\
            KILL &                      27.40 (58) &                2.35 &               0.21 &                 0.00 &               3.40 \\
\bottomrule
\end{tabular}
	\caption{2011 data}
	\vspace{0.5cm}
\end{subfigure}
\begin{subfigure}{\textwidth}
	\centering
\begin{tabular}{lrrrrr}
\toprule
\tableIIIh
\midrule
           EVICT &                   428.55 (2924) &               73.69 &               0.77 &                 0.00 &              28.77 \\
            FAIL &                     50.04 (108) &                0.29 &              11.06 &                 0.00 &               0.47 \\
          FINISH &                       12.41 (9) &                0.02 &               0.00 &                 2.15 &               0.01 \\
            KILL &                      27.40 (58) &                2.35 &               0.21 &                 0.00 &               3.40 \\
\bottomrule
\end{tabular}
	\caption{2019 data}
\end{subfigure}
\caption{tbd}
\end{figure}

\begin{figure}[p]
\tableIII{A}{
\begin{tabular}{lrrrrr}
\toprule
\tableIIIh
\midrule
           EVICT &                   428.55 (2924) &               73.69 &               0.77 &                 0.00 &              28.77 \\
            FAIL &                     50.04 (108) &                0.29 &              11.06 &                 0.00 &               0.47 \\
          FINISH &                       12.41 (9) &                0.02 &               0.00 &                 2.15 &               0.01 \\
            KILL &                      27.40 (58) &                2.35 &               0.21 &                 0.00 &               3.40 \\
\bottomrule
\end{tabular}
}
\tableIII{B}{
\begin{tabular}{lrrrrr}
\toprule
\tableIIIh
\midrule
           EVICT &                   345.71 (1578) &               64.82 &               0.24 &                 0.00 &              17.96 \\
            FAIL &                     86.77 (260) &                0.52 &              19.66 &                 0.00 &               0.68 \\
          FINISH &                      17.28 (20) &                0.02 &               0.02 &                 2.94 &               0.01 \\
            KILL &                      40.90 (60) &                3.35 &               0.28 &                 0.00 &               5.54 \\
\bottomrule
\end{tabular}
}
\tableIII{C}{
\begin{tabular}{lrrrrr}
\toprule
\tableIIIh
\midrule
           EVICT &                   404.11 (1748) &               73.72 &               1.81 &                 0.00 &              22.91 \\
            FAIL &                    187.03 (156) &                0.77 &              48.45 &                 2.04 &               0.76 \\
          FINISH &                      15.24 (18) &                0.02 &               0.01 &                 2.47 &               0.01 \\
            KILL &                      24.23 (32) &                1.53 &               0.12 &                 0.00 &               3.80 \\
\bottomrule
\end{tabular}
}
\tableIII{D}{
\begin{tabular}{lrrrrr}
\toprule
\tableIIIh
\midrule
           EVICT &                   323.37 (1478) &               62.00 &               0.70 &                 0.00 &              14.06 \\
            FAIL &                    228.00 (269) &                0.50 &              58.97 &                 0.81 &               2.04 \\
          FINISH &                      23.11 (18) &                0.06 &               0.02 &                 3.79 &               0.01 \\
            KILL &                      29.95 (32) &                1.96 &               0.15 &                 0.00 &               4.68 \\
\bottomrule
\end{tabular}
}
\tableIII{E}{
\begin{tabular}{lrrrrr}
\toprule
\tableIIIh
\midrule
           EVICT &                     84.65 (310) &               11.78 &               0.11 &                  0.0 &               5.79 \\
            FAIL &                    450.53 (138) &                0.46 &             111.47 &                  0.0 &               0.46 \\
          FINISH &                      11.98 (14) &                0.01 &               0.01 &                  2.0 &               0.01 \\
            KILL &                     55.88 (258) &                1.29 &               0.06 &                  0.0 &              12.16 \\
\bottomrule
\end{tabular}
}
\tableIII{F}{
\begin{tabular}{lrrrrr}
\toprule
\tableIIIh
\midrule
           EVICT &                    302.26 (510) &               23.97 &               0.19 &                 0.00 &              45.98 \\
            FAIL &                    164.04 (220) &                0.28 &              39.26 &                 0.00 &               1.55 \\
          FINISH &                      19.90 (20) &                0.02 &               0.00 &                 3.01 &               0.10 \\
            KILL &                     45.04 (162) &                0.38 &               0.10 &                 0.00 &               9.80 \\
\bottomrule
\end{tabular}
}
\tableIII{G}{
\begin{tabular}{lrrrrr}
\toprule
\tableIIIh
\midrule
           EVICT &                   555.57 (2015) &               77.43 &               0.30 &                 0.00 &              58.30 \\
            FAIL &                      40.12 (40) &                0.02 &               8.59 &                 0.00 &               0.34 \\
          FINISH &                     105.24 (18) &                0.02 &               0.00 &                14.15 &               0.00 \\
            KILL &                    130.05 (641) &                6.91 &               0.14 &                 0.00 &              25.28 \\
\bottomrule
\end{tabular}
}
\tableIII{H}{
\begin{tabular}{lrrrrr}
\toprule
\tableIIIh
\midrule
           EVICT &                     75.66 (206) &                6.73 &               0.84 &                 0.00 &               7.16 \\
            FAIL &                    170.15 (487) &                0.60 &              37.60 &                 0.00 &               2.87 \\
          FINISH &                      23.98 (22) &                0.02 &               0.01 &                 3.63 &               0.01 \\
            KILL &                     74.43 (388) &                0.63 &               0.17 &                 0.00 &              17.17 \\
\bottomrule
\end{tabular}
}
\caption{Mean number of tasks and event distribution per task type}\label{fig:tableIII}
\end{figure}

