Lines 441-450
Link Here
|
441 |
my $handle; |
441 |
my $handle; |
442 |
open_file($logfile, \$handle); |
442 |
open_file($logfile, \$handle); |
443 |
foreach (<$handle>) { |
443 |
foreach (<$handle>) { |
444 |
if (m/^(.*?)\: \>\>\> emerge.*?$ebuild_arg.*/) { |
444 |
if (m/^(.*?)\: \>\>\> emerge.*?$ebuild_arg-[0-9].*/) { |
445 |
$e_start = $1; |
445 |
$e_start = $1; |
446 |
} |
446 |
} |
447 |
if (m/^(.*?)\: ::: completed .*?\) .*$ebuild_arg.* to \//) |
447 |
if (m/^(.*?)\: ::: completed .*?\) .*$ebuild_arg-[0-9].* to \//) |
448 |
{ |
448 |
{ |
449 |
$e_end = $1; |
449 |
$e_end = $1; |
450 |
$tm_secondi += ($e_end - $e_start); |
450 |
$tm_secondi += ($e_end - $e_start); |
Lines 542-553
Link Here
|
542 |
my $handle; |
542 |
my $handle; |
543 |
open_file($logfile, \$handle); |
543 |
open_file($logfile, \$handle); |
544 |
foreach (<$handle>) { |
544 |
foreach (<$handle>) { |
545 |
if (m/^(.*?)\: \>\>\> emerge .*?\)(.*?\/$ebuild_arg.*?)to \//) |
545 |
if (m/^(.*?)\: \>\>\> emerge .*?\)(.*?\/$ebuild_arg-[0-9].*?)to \//) |
546 |
{ |
546 |
{ |
547 |
$e_start = $1; |
547 |
$e_start = $1; |
548 |
$e_current = $2; |
548 |
$e_current = $2; |
549 |
} |
549 |
} |
550 |
if (m/^(.*?)\: ::: completed .*?\) .*$ebuild_arg.* to \//) { |
550 |
if (m/^(.*?)\: ::: completed .*?\) .*$ebuild_arg-[0-9].* to \//) { |
551 |
$e_end = $1; |
551 |
$e_end = $1; |
552 |
$e_count++; |
552 |
$e_count++; |
553 |
>ime($e_end - $e_start); |
553 |
>ime($e_end - $e_start); |