Re: [ Memory ] Re: Thought

2002-10-02 Thread Michael G Schwern
On Wed, Oct 02, 2002 at 10:26:32PM +0200, H.Merijn Brand wrote: > > > SYNOPSIS > > > use Devel::Internals; > > > > A little broad. Perhaps Devel::Memory? > > My intent was to gather more internal states. Whatever useful. That's a potentially very large number of exported functions and

Re: [ Memory ] Re: Thought

2002-10-02 Thread H.Merijn Brand
On Wed 02 Oct 2002 22:11, Michael G Schwern <[EMAIL PROTECTED]> wrote: > On Wed, Oct 02, 2002 at 01:50:56PM +0200, H.Merijn Brand wrote: > > SYNOPSIS > > use Devel::Internals; > > A little broad. Perhaps Devel::Memory? My intent was to gather more internal states. Whatever useful. > >

Re: [ Memory ] Re: Thought

2002-10-02 Thread Michael G Schwern
On Wed, Oct 02, 2002 at 01:50:56PM +0200, H.Merijn Brand wrote: > SYNOPSIS > use Devel::Internals; A little broad. Perhaps Devel::Memory? > my $end = sbrk (); > > my @array = (1..1); > print "The creation of this array used ", > sbrk () - $end,

Re: [ Memory ] Re: Thought

2002-10-02 Thread Tels
-BEGIN PGP SIGNED MESSAGE- Moin, On 02-Oct-02 Nicholas Clark carved into stone: > On Wed, Oct 02, 2002 at 05:06:53PM +0200, Tels wrote: > >> On 02-Oct-02 H.Merijn Brand carved into stone: > > Going to be a bit hard to change, then :-) :-) >> > As a start for a `normal' interface to t

Re: [ Memory ] Re: Thought

2002-10-02 Thread Nicholas Clark
On Wed, Oct 02, 2002 at 05:06:53PM +0200, Tels wrote: > On 02-Oct-02 H.Merijn Brand carved into stone: Going to be a bit hard to change, then :-) > > As a start for a `normal' interface to the interperters internals, this > > time no open hack, but a neat interface. > > Very open to additions.

RE: [ Memory ] Re: Thought

2002-10-02 Thread Tels
-BEGIN PGP SIGNED MESSAGE- Moin, On 02-Oct-02 H.Merijn Brand carved into stone: > As a start for a `normal' interface to the interperters internals, this > time no open hack, but a neat interface. > Very open to additions. > Useful? Is it accurate? > Feedback please > > > NAME >

Re: [ Memory ] Re: Thought

2002-10-02 Thread Roland Giersig
> MemUsed ($msg) > Used in void context reports the number of bytes used since the > previous call to MemUsed with the message passed > > Used in scalar context returns the current sbrk value > > Used in list context returns the values saved on every call Ugh, no, seems ver

[ Memory ] Re: Thought

2002-10-02 Thread H.Merijn Brand
As a start for a `normal' interface to the interperters internals, this time no open hack, but a neat interface. Very open to additions. Useful? Feedback please NAME Devel-Internals - Perl extension for internal interpreter statistics SYNOPSIS use Devel::Internals; my