tim.qfs has asked for the wisdom of the Perl Monks concerning the following question:
#! /usr/bin/perl use Time::HiRes qw(gettimeofday); ($seconds, $microseconds[0]) = gettimeofday; for ($count = 1; $count <= 1000000; $count++) { } ($seconds, $microseconds[1]) = gettimeofday; $difference = $microseconds[1] - $microseconds[0]; print "Content-type:text/html\n\n"; print "$difference";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: TRNG Perl script query
by GrandFather (Saint) on Jan 27, 2014 at 03:37 UTC | |
by AnomalousMonk (Archbishop) on Jan 27, 2014 at 03:46 UTC | |
|
Re: TRNG Perl script query
by Anonymous Monk on Jan 27, 2014 at 03:53 UTC | |
|
Re: TRNG Perl script query
by AnomalousMonk (Archbishop) on Jan 27, 2014 at 03:56 UTC | |
|
Re: TRNG Perl script query
by 2teez (Vicar) on Jan 27, 2014 at 03:12 UTC | |
|
Re: TRNG Perl script query
by jellisii2 (Hermit) on Jan 27, 2014 at 12:40 UTC |