projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e57951
)
Time::HiRes um Zeit Stats im Footer anzuzeigen.
author
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 27 Oct 2009 14:35:07 +0000
(15:35 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 29 Oct 2009 16:36:23 +0000
(17:36 +0100)
am.pl
patch
|
blob
|
history
diff --git
a/am.pl
b/am.pl
index
a70e452
..
0df3027
100755
(executable)
--- a/
am.pl
+++ b/
am.pl
@@
-32,9
+32,15
@@
use strict;
+use Time::HiRes qw(gettimeofday tv_interval);
+
+my $time;
+
BEGIN {
unshift @INC, "modules/override"; # Use our own versions of various modules (e.g. YAML).
push @INC, "modules/fallback"; # Only use our own versions of modules if there's no system version.
+
+ $time = [gettimeofday];
}
# setup defaults, DO NOT CHANGE
@@
-172,5
+178,8
@@
sub _show_error {
exit;
}
+END {
+ print "<!-- time elapsed: ", tv_interval($time), "s -->";
+}
# end