Your implementation context is CGI script, but that is not your application. Your application may be timing a database query or some such. So, what is the application?
You need to decide what it is that you want to report - wall clock time or process time.
With most operating systems that are not designed for real time environments reporting wall clock times of less than a few milliseconds is fairly meaningless because time slices for tasks are of that order and will render any real time reporting at that level meaningless.
In reply to Re^3: Timer implementation
by GrandFather
in thread Timer implementation
by bash
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |