Help for this page

Select Code to Download


  1. or download this
    package Thread::Queue;
    use threads::shared;
    ...
        return scalar(@$q);
    }
    1;
    
  2. or download this
    #! perl -slw
    use strict;
    ...
    
    printf "Took %.6f seconds\n", time() - $start;
    print join ' ', times;
    
  3. or download this
    #! perl -slw
    use strict;
    ...
    
    printf "Took %.6f seconds\n", time() - $start;
    print join ' ', times;
    
  4. or download this
    c:\test>junk51 -T=10 -N=100 -I=1e4
    Took 2.544000 seconds
    ...
    c:\test>junk52 -T=10 -N=1000 -I=1e3
    Took 21.426000 seconds
    15.303 29.156 0 0