summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2002-06-26 15:23:31 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2002-06-26 15:23:31 +0000
commit6a26de752e8c5eb3334f04b67b04e56029d67980 (patch)
treeed2956f6025b3542c2b11d6de087c36cc2b55d60
parentf3c49d6b9a932b9cd8780f030e5decd18a87364a (diff)
downloadATCD-6a26de752e8c5eb3334f04b67b04e56029d67980.tar.gz
Adding timing of the file generation
-rw-r--r--bin/MakeProjectCreator/modules/Driver.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/MakeProjectCreator/modules/Driver.pm b/bin/MakeProjectCreator/modules/Driver.pm
index b3bb3d86623..9244ea22ecd 100644
--- a/bin/MakeProjectCreator/modules/Driver.pm
+++ b/bin/MakeProjectCreator/modules/Driver.pm
@@ -204,10 +204,12 @@ sub run {
my($generator) = $name->new($global, \@include, $template, \%ti);
print "Generating output using " .
($file eq "" ? "default input" : $file) . "\n";
+ print "Start Time: " . scalar(localtime(time())) . "\n";
if (!$generator->generate($file)) {
print STDERR "Unable to process: $file\n";
$status++;
}
+ print " End Time: " . scalar(localtime(time())) . "\n";
}
}