Allow peer SIBLING_HIT to be added to HIT count. Thanks to Maher Kassem forn the patch.
This commit is contained in:
parent
24c249723b
commit
c960a6e86f
|
@ -212,8 +212,8 @@ sub parseFile
|
|||
$self->{begin_time} = $time;
|
||||
print STDERR "START TIME: ", strftime("%a %b %e %H:%M:%S %Y", localtime($time)), "\n" if (!$self->{QuietMode});
|
||||
}
|
||||
# Only store (HIT|UNMODIFIED)/MISS status and peer CD_SIBLING_HIT/...
|
||||
if ( ($code =~ m#(HIT|UNMODIFIED)/#) || ($self->{SiblingHit} && ($line =~ / CD_SIBLING_HIT/)) ) {
|
||||
# Only store (HIT|UNMODIFIED)/MISS status and peer CD_SIBLING_HIT/ aswell as peer SIBLING_HIT/...
|
||||
if ( ($code =~ m#(HIT|UNMODIFIED)/#) || ($self->{SiblingHit} && ($line =~ / (CD_)?SIBLING_HIT/)) ) {
|
||||
$code = 'HIT';
|
||||
} elsif ($code =~ m#MISS|MODIFIED/#) {
|
||||
$code = 'MISS';
|
||||
|
|
Loading…
Reference in New Issue