Talk:Queue
Jump to navigation
Jump to search
February 25, 2008
Do we include sample code to illustrate the timing behavior of the queue?
@create Stopwatch &loop Stopwatch=@set me=counter:[inc(v(counter))];@set me=ended:[secs()];@trig me/loop &start Stopwatch=$+click:@set me=counter:0;@set me=started:[secs()];@trig me/loop;@wait 20=@trig me/end &end Stopwatch=@pemit owner(me)=The stopwatch loops at [fdiv(v(counter),sub(v(ended),v(started)))] iterations per second.;@halt me @set Stopwatch=COMMANDS
Do we include sample code that illustrates how to accomplish something in a minimum number of queue cycles?
Brazil