X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sigcse2009%2Ffigures.tex;h=0ba51697c9d3e38743923eea5176bd2bd16f6321;hb=401dd5daed126bbd29ca582a2e6ab6a0e786aac8;hp=761b797609e7c2753a35625005289b5f84b9eba5;hpb=3aadab63d2d3dfa8ad40c2cbdac84a7d54975878;p=pintos-anon diff --git a/sigcse2009/figures.tex b/sigcse2009/figures.tex index 761b797..0ba5169 100644 --- a/sigcse2009/figures.tex +++ b/sigcse2009/figures.tex @@ -10,6 +10,7 @@ \end{figure} } +% old PDF that has legend at the bottom, we use pintosdetailfiguretwo instead now. \newcommand{\pintosdetailfigure}{ \begin{figure*}[htp] \centering @@ -20,3 +21,38 @@ \label{fig:pintosdetail} \end{figure*} } + +% these are needed to use \fbox{} to surround includegraphics with so we can see the borders +\setlength\fboxsep{0pt} +\setlength\fboxrule{0.5pt} + +\newcommand{\pintosdetailfiguretwo}{ + \begin{figure*}[htp] + % \centering + \begin{tabular}{cc} + % left bottom right top + \includegraphics[trim=.0in .4in .25in .1in, width=.7\textwidth]{pintosoverviewnolegend.pdf} + & + \includegraphics[trim=.0in 3.3in 7.3in .0in, width=1.6in]{pintosoverviewlegend.pdf} + \\ + \end{tabular} + \caption{Components of Pintos split in provided support code, test cases, + and components created in assignments. Overlapping components indicate + when students have to replace parts of the support code.} + \label{fig:pintosdetail} + \end{figure*} +} + +\newcommand{\pintostestcounttable}{ +\begin{table} + \begin{tabular}{cccc} + Project & Functionality & Robustness & Regression \\ + 1 & 27 & - & - \\ + 2 & 41 & 35 & - \\ + 3 & 20 & 14 & 75 \\ + 4 & 39 & 7 & 75 \\ + \end{tabular} + \caption{Pintos test cases by project.} + \label{table:tests} +\end{table} +}