From: Jeroen van Wolffelaar Date: Tue, 21 Feb 2006 13:07:45 +0000 (+0000) Subject: Use exact wallclocktime when available (it's in the 'perl' package) X-Git-Tag: switch-to-templates~94 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=d9c10aaf0bb03bfb75404f9041967b9f91012bdb;p=deb%2Fpackages.git Use exact wallclocktime when available (it's in the 'perl' package) --- diff --git a/cgi-bin/dispatcher.pl b/cgi-bin/dispatcher.pl index f657808..f03c559 100755 --- a/cgi-bin/dispatcher.pl +++ b/cgi-bin/dispatcher.pl @@ -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 diff --git a/cgi-bin/download.pl b/cgi-bin/download.pl index f4876be..62a0fc9 100755 --- a/cgi-bin/download.pl +++ b/cgi-bin/download.pl @@ -13,7 +13,7 @@ use warnings; use CGI (); use DB_File; -use Benchmark; +use Benchmark ':hireswallclock'; use lib "../lib"; diff --git a/cgi-bin/search_packages.pl b/cgi-bin/search_packages.pl index a7184dc..d8d2641 100755 --- a/cgi-bin/search_packages.pl +++ b/cgi-bin/search_packages.pl @@ -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 diff --git a/cgi-bin/show_filelist.pl b/cgi-bin/show_filelist.pl index ff7b697..ffb93ee 100755 --- a/cgi-bin/show_filelist.pl +++ b/cgi-bin/show_filelist.pl @@ -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 diff --git a/cgi-bin/show_package.pl b/cgi-bin/show_package.pl index 5eaa73f..d3d6c7a 100755 --- a/cgi-bin/show_package.pl +++ b/cgi-bin/show_package.pl @@ -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 diff --git a/lib/Packages/DoDownload.pm b/lib/Packages/DoDownload.pm index 9cf75f5..87bc10c 100644 --- a/lib/Packages/DoDownload.pm +++ b/lib/Packages/DoDownload.pm @@ -5,7 +5,7 @@ use warnings; use CGI (); use DB_File; -use Benchmark; +use Benchmark ':hireswallclock'; use Exporter; use Deb::Versions; diff --git a/lib/Packages/DoFilelist.pm b/lib/Packages/DoFilelist.pm index 5625177..dba1d4b 100644 --- a/lib/Packages/DoFilelist.pm +++ b/lib/Packages/DoFilelist.pm @@ -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; diff --git a/lib/Packages/DoSearch.pm b/lib/Packages/DoSearch.pm index 6d7c639..630411f 100644 --- a/lib/Packages/DoSearch.pm +++ b/lib/Packages/DoSearch.pm @@ -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; diff --git a/lib/Packages/DoSearchContents.pm b/lib/Packages/DoSearchContents.pm index 6d236d1..a0634fe 100644 --- a/lib/Packages/DoSearchContents.pm +++ b/lib/Packages/DoSearchContents.pm @@ -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; diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm index 05b5dc9..e9bbed8 100644 --- a/lib/Packages/DoShow.pm +++ b/lib/Packages/DoShow.pm @@ -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;