2 use Time
::Local
('timegm');
13 open($fh, "<", $ARGV[0]) || die "can't open ".$ARGV[0];
19 if (m/^testsuite: (.*)/) {
23 if (m/testsuite-\w+:/) {
24 $hash{"$name -> ".($end - $start)} = $end - $start;
28 if (m/^time: (\d\d\d\d)-(\d\d)-(\d\d) (\d\d):(\d\d):(\d\d)/ && $intest) {
29 my $ts=timegm
($6,$5,$4,$3,$2 - 1,$1 - 1900);
37 my @sorted = sort { $hash{$a}<=>$hash{$b} } keys(%hash);