modified regexp for free and used blocks

This commit is contained in:
dp%netscape.com 2002-02-22 22:23:16 +00:00
parent 3519948e03
commit 152f1063d8

View File

@ -47,7 +47,7 @@ while(<>)
}
next;
}
elsif (/ FREE block at ([0-9A-F]*) of size ([0-9]*) overhead ([0-9]*)/)
elsif (/ *FREE block at ([0-9A-Fa-f]*) of size *([0-9]*) overhead *([0-9]*)/)
{
$freeCount++;
$freeBytes += $2;
@ -57,7 +57,7 @@ while(<>)
# this is a candidate for compaction.
$prevFree = $2;
}
elsif (/ USED block at ([0-9A-F]*) of size ([0-9]*) overhead ([0-9]*)/)
elsif (/ *USED block at ([0-9A-Fa-f]*) of size *([0-9]*) overhead *([0-9]*)/)
{
$usedCount++;
$usedBytes += $2;