dcdelia adjustbox for tables  over 8 years ago

Commit id: c98bde607cf355b015fd3b52f3692f59a854ae70

deletions | additions      

       

\begin{table}[hb]  \begin{center}  \begin{small}  \ifdefined \noauthorea  \begin{adjustbox}{width=1\columnwidth}  \fi  \begin{tabular}{ |c|c| }  \hline  Benchmark & Description \\  

sp-norm & Eigenvalue calculation with power method \\   \hline  \end{tabular}   \ifdefined \noauthorea  \end{adjustbox}  \fi  \end{small}  \end{center}  \caption{\label{tab:shootout} Description of the \shootout\ benchmarks.}  

\begin{table*}[ht]  \begin{center}  \begin{small}  \ifdefined \noauthorea  \begin{adjustbox}{width=1\textwidth}  \fi  \begin{tabular}{ |c|c|c|c|c|c|c|c| }  \cline{3-8}  \multicolumn{2}{c|}{} & \multicolumn{3}{c|}{{\em Unoptimized version}} & \multicolumn{3}{c|}{{\em Optimized code}} \\ 

sp-norm-large & 19\,360\,000\,000 & 2 & 0.778 & 14.89 & 2 & -0.003 & -0.07 \\  \hline  \end{tabular}   \ifdefined \noauthorea  \end{adjustbox}  \fi  \end{small}  \end{center}  \caption{\label{tab:sameFun}Cost of OSR transitions to the same function. Overhead is assessed w.r.t. running time of the never-firing version. %For each benchmark we report the number of fired OSR transitions, the number of live values passed at the OSR point, the average time for performing a transition, and the slowdown of the always-firing w.r.t. the never-firing version calculated on total CPU time. 

\begin{table}[hb]  \begin{small}  \ifdefined \noauthorea  \begin{adjustbox}{width=1\columnwidth}  \fi  % dirty hack for text wrapping  \begin{tabular}{ |c|c|c|c|c| }  \cline{2-5} 

sim\_anl & 1.009 & 1.564 & 1.606 & 1.612 \\   \hline  \end{tabular}   \ifdefined \noauthorea  \end{adjustbox}  \fi  \caption{\label{tab:feval} Q4: Speedup comparison for \feval\ optimization.}   \end{small}  \end{table}