tedd wrote:
-B
At 12:51 PM -0400 4/7/06, Brad Bonkoski wrote:
How is the CPU not in question? Does this script run on air?
I did not say that. I said that it was not MY CPU that was involved
and it isn't.
Who cares, it is irrelavent who's CPU it is runing on.
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.
Negative times are expected? Incorrect times are expected? What's the
point of microtime if you can't reply on it?
Please explain.
Please tell me where it say "Negative times are expected"?????? I don't
see it.
And take a class on Operating System Theroy! If you want a real time
OS, then get a real time OS, otherwise realize that although you MAY be
executing the same code, it may take different amounts of time to
execute that code. That's how scheduling works. If you want
performance measurements then take a sample and average them out.
tedd
--- previous ---
-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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php