diff options
author | Karl Berry <karl@freefriends.org> | 2012-11-20 18:08:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-11-20 18:08:54 +0000 |
commit | c5add2ea5067382269ae6f19e345fda0b9a7bd21 (patch) | |
tree | 02f512fda46d93079c9dc59c0d76f0e398150f83 /Master/tlpkg/tlperl/lib/Devel/Peek.pm | |
parent | 6c35e87bdc5a3f64833dbbc42e7d42e683db9d5b (diff) |
perl 5.16.2, compiled without optimization for Windows (from siep)
git-svn-id: svn://tug.org/texlive/trunk@28315 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlperl/lib/Devel/Peek.pm')
-rw-r--r-- | Master/tlpkg/tlperl/lib/Devel/Peek.pm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/tlpkg/tlperl/lib/Devel/Peek.pm b/Master/tlpkg/tlperl/lib/Devel/Peek.pm index ab0d5eb7608..d066c9d8bc5 100644 --- a/Master/tlpkg/tlperl/lib/Devel/Peek.pm +++ b/Master/tlpkg/tlperl/lib/Devel/Peek.pm @@ -3,7 +3,7 @@ package Devel::Peek; -$VERSION = '1.07'; +$VERSION = '1.08'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -139,7 +139,7 @@ When perl is compiled with support for memory footprint debugging Use mstat() function to emit a memory state statistic to the terminal. For more information on the format of output of mstat() see -L<perldebguts/Using C<$ENV{PERL_DEBUG_MSTATS}>>. +L<perldebguts/Using $ENV{PERL_DEBUG_MSTATS}>. Three additional functions allow access to this statistic from Perl. First, use C<mstats_fillhash(%hash)> to get the information contained @@ -152,9 +152,10 @@ Two additional fields C<free>, C<used> contain array references which provide per-bucket count of free and used chunks. Two other fields C<mem_size>, C<available_size> contain array references which provide the information about the allocated size and usable size of chunks in -each bucket. Again, see L<perldebguts/Using C<$ENV{PERL_DEBUG_MSTATS}>> +each bucket. Again, see L<perldebguts/Using $ENV{PERL_DEBUG_MSTATS}> for details. + Keep in mind that only the first several "odd-numbered" buckets are used, so the information on size of the "odd-numbered" buckets which are not used is probably meaningless. @@ -410,7 +411,7 @@ The output: IV = 42 This shows C<$a> is a reference pointing to an SV. That SV is a PVHV, a -hash. Fields RITER and EITER are used by C<L<each>>. +hash. Fields RITER and EITER are used by C<L<perlfunc/each>>. The "quality" of a hash is defined as the total number of comparisons needed to access every element once, relative to the expected number needed for a |