On Wed, Nov 12, 2008 at 01:36:32PM +0100, Gisle Aas wrote:
> 
> On Wed, Nov 12, 2008 at 11:39,  <[EMAIL PROTECTED]> wrote:
> > Log:
> > Format negative time values as seconds, not nanoseconds.
> 
> I don't have anything against the change; I just wonder if there are
> circumstances where the profiler would measure negative time?

Some.

Very small negative values can happen eg on SMP systems with unstable clocks
http://search.cpan.org/~timb/Devel-NYTProf/lib/Devel/NYTProf.pm#CAVEATS
(the worst I've encountered was an XenU system) especially when using a
non-monotonic clock.

Larger negative values can appear in the subroutine profiler for
recursive subs, due to the way the time spent recursing is 'missing'.

Tim.

--~--~---------~--~----~------------~-------~--~----~
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to