… | |
… | |
64 | #$c1->save (-1); |
64 | #$c1->save (-1); |
65 | |
65 | |
66 | transfer($main, $c0); |
66 | transfer($main, $c0); |
67 | transfer($main, $c1); |
67 | transfer($main, $c1); |
68 | |
68 | |
|
|
69 | #Coro::State::enable_times 1; |
|
|
70 | #use Coro::Debug; Coro::Debug::command "ps";#d# |
69 | #(async { |
71 | #(async { |
70 | timethese 5000000, { |
72 | timethese 5000000, { |
71 | function => 'a(5); a(6)', |
73 | function => 'a(5); a(6)', |
72 | method => '$a->b(5); $a->b(6)', |
74 | method => '$a->b(5); $a->b(6)', |
73 | cede => 'cede', |
75 | cede => 'cede', |
74 | transfer0 => 'transfer($main, $c0)', |
76 | transfer0 => 'transfer($main, $c0)', |
75 | transfer1 => 'transfer($main, $c1)', |
77 | transfer1 => 'transfer($main, $c1)', |
76 | }; |
78 | }; |
77 | #})->join; |
79 | #})->join; |
|
|
80 | #use Coro::Debug; Coro::Debug::command "ps";#d# |
78 | |
81 | |
79 | |
82 | |
80 | |
83 | |