use CGI;
use DBI;
use HTML::Entities;
+use Time::HiRes;
use strict;
use warnings;
+our $start_time;
+
+BEGIN {
+ $start_time = [Time::HiRes::gettimeofday()];
+}
+
our $ccbs_dbdebug = 0;
# Set this flag to disable any admin tasks -- it's quite crude, but hey :-)
$vars->{'page'} = $page;
$vars->{'title'} = $title;
$vars->{'public'} = $ccbs_noadmin;
+ $vars->{'timetogenerate'} = sprintf "%.3f", Time::HiRes::tv_interval($start_time);
my $config = {
INCLUDE_PATH => 'templates/',