Php microtime explaination?

It still takes extra overhead for function calls and variable assignment, etc. It will be AT LEAST the length of time you sleep, probably a few milliseconds more.

3 +1 The CPU / kernel aren't even going to guarantee that the next microtime won't be delayed for seconds if the computer is very busy. All sleep does is pause script execution for a minimum of the time specified. – James Butler Dec 4 at 23:53 thanks for the info – Adam Dec 4 at 23:55.

This might be wrong, but I remember a long time ago someone telling me that time on computers is very hard to measure. Considering that calling the functions sleep() and microtime() all take some time it will always be out. There is an overhead in doing anything which won't be part of the timing process.

1 Time is easy to measure. Getting an ACCURATE reating is the hard part. By the time the clock system interrupt gets noticed and processed by the OS, the time that triggered the interrupt has already gone past.

– Marc B Dec 5 at 1:08.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions