Author: gisle.aas
Date: Thu Oct 23 06:28:05 2008
New Revision: 544
Modified:
trunk/lib/Devel/NYTProf/Util.pm
Log:
No need to calculate the $diff twice in fmt_incl_excl_time
Modified: trunk/lib/Devel/NYTProf/Util.pm
==============================================================================
--- trunk/lib/Devel/NYTProf/Util.pm (original)
+++ trunk/lib/Devel/NYTProf/Util.pm Thu Oct 23 06:28:05 2008
@@ -153,7 +153,7 @@
my $diff = $incl - $excl;
return fmt_float($incl) . "s" unless $diff;
return sprintf "%ss (%s+%s)", fmt_float($incl), fmt_float($excl),
- fmt_float($incl - $excl);
+ fmt_float($diff);
}
--~--~---------~--~----~------------~-------~--~----~
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]
-~----------~----~----~----~------~----~------~--~---