68194ce750f8e49254c884ae8b7a4b5f9fbcfb73
[pintos-anon] / sigcse2009 / figures.tex
1 \newcommand{\pintosenvfigure}{
2     \begin{figure}[htp]
3     \centering
4     \includegraphics[trim=.5in 3.2in .7in .3in, clip,width=\columnwidth]{pintosoptions.pdf}
5     \caption{The same Pintos instructional kernel runs in a
6     fully reproducible simulated environment, in an enhanced
7     emulated environment with dynamic analysis capability, and
8     on actual hardware.}
9     \label{fig:pintosenvs}
10     \end{figure}
11 }
12
13 \newcommand{\pintosdetailfigure}{
14     \begin{figure*}[htp]
15     \centering
16     \includegraphics[width=.7\textwidth]{pintosoverview.pdf}
17     \caption{Components of Pintos split in provided support code, test cases, 
18         and components created in assignments.  Overlapping components indicate
19         when students have to replace parts of the support code.}
20     \label{fig:pintosdetail}
21     \end{figure*}
22 }
23
24 % these are needed to use \fbox{} to surround includegraphics with so we can see the borders
25 \setlength\fboxsep{0pt}
26 \setlength\fboxrule{0.5pt}
27
28 \newcommand{\pintosdetailfiguretwo}{
29     \begin{figure*}[htp]
30     % \centering
31     \begin{tabular}{cc}
32         % left bottom right top
33             \includegraphics[trim=.0in .4in .25in .1in, width=.7\textwidth]{pintosoverviewnolegend.pdf}
34         &
35             \includegraphics[trim=.0in 3.3in 7.3in .0in, width=1.6in]{pintosoverviewlegend.pdf}
36         \\
37     \end{tabular}
38     \caption{Components of Pintos split in provided support code, test cases, 
39         and components created in assignments.  Overlapping components indicate
40         when students have to replace parts of the support code.}
41     \label{fig:pintosdetail}
42     \end{figure*}
43 }
44
45 \newcommand{\pintostestcounttable}{
46 \begin{table}
47     \begin{tabular}{lccc}
48     Project & Functionality & Robustness & Regression \\
49     1       & 27            & -          & -          \\
50     2       & 41            & 35         & -          \\
51     3       & 20            & 14         & 75         \\
52     4       & 39            & 7          & 75         \\
53     \end{tabular}
54     \caption{Pintos test cases by project.}
55     \label{table:tests}
56 \end{table}
57 }