Changeset 9b4483a0 for doc


Ignore:
Timestamp:
Mar 14, 2020, 6:02:11 PM (19 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
6791213
Parents:
852a2f06
Message:

replace pseudo-generator benchmark results with real ones

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/papers/concurrency/Paper.tex

    r852a2f06 r9b4483a0  
    248248}
    249249
    250 \newbox\myboxA
    251 \newbox\myboxB
    252 \newbox\myboxC
    253 \newbox\myboxD
     250\newsavebox{\myboxA}
     251\newsavebox{\myboxB}
     252\newsavebox{\myboxC}
     253\newsavebox{\myboxD}
    254254
    255255\title{\texorpdfstring{Advanced Control-flow and Concurrency in \protect\CFA}{Advanced Control-flow in Cforall}}
     
    29672967\lstset{language=CFA,moredelim=**[is][\color{red}]{@}{@},deletedelim=**[is][]{`}{`}}
    29682968\begin{cfa}[aboveskip=0pt,belowskip=0pt]
    2969 @coroutine@ C {} c;
    2970 void main( C & ) { while () { @suspend;@ } }
     2969@coroutine@ C {};
     2970void main( C & ) { for () { @suspend;@ } }
    29712971int main() { // coroutine test
     2972        C c;
    29722973        BENCH( for ( N ) { @resume( c );@ } )
    29732974        sout | result;
     
    29892990\multicolumn{1}{@{}c}{} & \multicolumn{1}{c}{Median} &\multicolumn{1}{c}{Average} & \multicolumn{1}{c@{}}{Std Dev} \\
    29902991C function                      & 1.8           & 1.8           & 0.0   \\
    2991 \CFA generator          & 1.8           & 1.8           & 0.1   \\
     2992\CFA generator          & 1.8           & 2.0           & 0.3   \\
    29922993\CFA coroutine          & 32.5          & 32.9          & 0.8   \\
    29932994\CFA thread                     & 93.8          & 93.6          & 2.2   \\
Note: See TracChangeset for help on using the changeset viewer.