NAME

Devel::MAT::Tool::Count - count the various kinds of SV

DESCRIPTION

This Devel::MAT tool counts the different kinds of SV in the heap.

METHODS

count_svs

( $kinds, $blessed ) = $count->count_svs( $df )

Counts the different kinds of SV in the heap of the given Devel::MAT::Dumpfile and returns two HASH references containing totals. The first counts every SV, split by type. The second counts those SVs that are blessed into some package; that is, SVs that are objects.

COMMANDS

count

pmat> count
  Kind                 Count      (blessed) 
  ARRAY                134                  
  CODE                 133                  

Prints a summary of the count of each type of object.

AUTHOR

Paul Evans <leonerd@leonerd.org.uk>