Re: microtime questions

From: Date: Fri, 07 Apr 2006 16:51:49 +0000
Subject: Re: microtime questions
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-233447@lists.php.net to get a copy of this message
How is the CPU not in question? Does this script run on air? It may not be YOUR CPU, but it is still a CPU bound by the sceduling algorithm of the Operating System, so the time differentials are too be expected. -B tedd wrote:
At 12:24 PM -0400 4/7/06, Brad Bonkoski wrote:
Interesting... as for your first question... Know that PHP/Apache does not have free reign to your CPU, so the times could be different based on the scheduling going on in the OS kernel. As for the second one... No idea why you would get a negative number, I just copied and ran from the command line and did not encounter 1 negative time for about 30 runs.... Do you get negative times if you run it from the command line as well? -B
RE: http://www.xn--ovg.com/microtime.php
Brad: Thanks for looking. My questions are with regard to what happens on the site, not via my command line. As such, my command line and my CPU are not involved. Can you answer the questions as they pertain to the site in question? Thanks. tedd


« previous php.general (#233447) next »