]> git.deb.at Git - deb/packages.git/commitdiff
Use exact wallclocktime when available (it's in the 'perl' package)
authorJeroen van Wolffelaar <jeroen@wolffelaar.nl>
Tue, 21 Feb 2006 13:07:45 +0000 (13:07 +0000)
committerJeroen van Wolffelaar <jeroen@wolffelaar.nl>
Tue, 21 Feb 2006 13:07:45 +0000 (13:07 +0000)
cgi-bin/dispatcher.pl
cgi-bin/download.pl
cgi-bin/search_packages.pl
cgi-bin/show_filelist.pl
cgi-bin/show_package.pl
lib/Packages/DoDownload.pm
lib/Packages/DoFilelist.pm
lib/Packages/DoSearch.pm
lib/Packages/DoSearchContents.pm
lib/Packages/DoShow.pm

index f6578087c4e5a1a529710ba76e4b6d19caf21681..f03c55970aee3ebc5cd4d6e3702d30a3dc026fad 100755 (executable)
@@ -16,7 +16,7 @@ use POSIX;
 use URI::Escape;
 use HTML::Entities;
 use DB_File;
-use Benchmark;
+use Benchmark ':hireswallclock';
 
 use Deb::Versions;
 use Packages::Config qw( $DBDIR $ROOT $SEARCH_CGI $SEARCH_PAGE
index f4876be8fbe74108100a846c4e36e60a05b121a5..62a0fc96be770c0d408ebb1b8fac5c99b3c97cc0 100755 (executable)
@@ -13,7 +13,7 @@ use warnings;
 
 use CGI ();
 use DB_File;
-use Benchmark;
+use Benchmark ':hireswallclock';
 
 use lib "../lib";
 
index a7184dc7d5050a4c6a61365536672fdd6f343d27..d8d26410cff7db68c513d8176e38e125074f5ec4 100755 (executable)
@@ -19,7 +19,7 @@ use POSIX;
 use URI::Escape;
 use HTML::Entities;
 use DB_File;
-use Benchmark;
+use Benchmark ':hireswallclock';
 
 use Deb::Versions;
 use Packages::Config qw( $DBDIR $ROOT $SEARCH_CGI $SEARCH_PAGE
index ff7b697902386b41d6e7e70dd7cde8ce3de74e44..ffb93ee0fbf7e0045a724d375eceb293e02ab464 100755 (executable)
@@ -20,7 +20,7 @@ use POSIX;
 use URI::Escape;
 use HTML::Entities;
 use DB_File;
-use Benchmark;
+use Benchmark ':hireswallclock';
 
 use Deb::Versions;
 use Packages::Config qw( $DBDIR $ROOT @SUITES @ARCHIVES @SECTIONS
index 5eaa73f0da6b6f58f97599b94fcc4734b7b2469d..d3d6c7a09c5518d8337058b75b4468d2605d1f25 100755 (executable)
@@ -20,7 +20,7 @@ use POSIX;
 use URI::Escape;
 use HTML::Entities;
 use DB_File;
-use Benchmark;
+use Benchmark ':hireswallclock';
 
 use Deb::Versions;
 use Packages::Config qw( $DBDIR $ROOT @SUITES @ARCHIVES @SECTIONS
index 9cf75f51ba1103255fc8132a91576c8cdc776a61..87bc10ccbfe12fb5520f8a284b273ef104980ce8 100644 (file)
@@ -5,7 +5,7 @@ use warnings;
 
 use CGI ();
 use DB_File;
-use Benchmark;
+use Benchmark ':hireswallclock';
 use Exporter;
 
 use Deb::Versions;
index 562517784787fdae3b1a2a3dd62925dd1848b02c..dba1d4b74eaf47b71b8fcf1cf740c0fe97f4d874 100644 (file)
@@ -7,7 +7,7 @@ use POSIX;
 use URI::Escape;
 use HTML::Entities;
 use DB_File;
-use Benchmark;
+use Benchmark ':hireswallclock';
 use Exporter;
 
 use Deb::Versions;
index 6d7c6396a789f684fcc6c1c8b7b354e32067453b..630411f5de9e76db68997d25bd6bce62947c24b1 100644 (file)
@@ -3,7 +3,7 @@ package Packages::DoSearch;
 use strict;
 use warnings;
 
-use Benchmark;
+use Benchmark ':hireswallclock';
 use DB_File;
 use URI::Escape;
 use HTML::Entities;
index 6d236d1bff5015939cba6ec960a9843bb982ac68..a0634fec97750a4602419d53a952adec2947cd61 100644 (file)
@@ -3,7 +3,7 @@ package Packages::DoSearchContents;
 use strict;
 use warnings;
 
-use Benchmark;
+use Benchmark ':hireswallclock';
 use DB_File;
 use URI::Escape;
 use HTML::Entities;
index 05b5dc974c1e7964ed7eec2c700174146ec003bd..e9bbed81b7f94add75f9b3aa2ee9de6709493b04 100644 (file)
@@ -6,7 +6,7 @@ use POSIX;
 use URI::Escape;
 use HTML::Entities;
 use DB_File;
-use Benchmark;
+use Benchmark ':hireswallclock';
 use Exporter;
 
 use Deb::Versions;