-----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 the interperters internals, >> > this >> > time no open hack, but a neat interface. >> > Very open to additions. >> > Useful? >> >> Is it accurate? >> >> > Feedback please >> > >> > >> > NAME >> > Devel-Internals - Perl extension for internal interpreter >> > statistics >> > >> > SYNOPSIS >> > use Devel::Internals; >> > >> > my $end = sbrk (); >> >> Can you please use a better name? sbrk() doesn't mean anything to me. > > Trouble is that it's entirely accurate. If you know what sbrk() is in > Unix, then you know that this would return it. The value is not directly > memory used or anything like that. It's the current sbrk() :-) Hm, I don't know what sbrk is. Practically I shouldn't need to know nor care, all I want is the memory usage :) But is sbrk() is actually NOT the memory usage, what (any why) is MemUsed returning? Just the same? Or something computed different? :) Cheers, Te"A way to measure how much memory an object takes would be *very* usefull"ls - -- perl -MDev::Bollocks -le'print Dev::Bollocks->rand()' authoritatively embrace ubiquitous data http://bloodgate.com/perl My current Perl projects PGP key available on http://bloodgate.com/tels.asc or via email -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl. iQEVAwUBPZsQGXcLPEOTuEwVAQGkbwf+JGI1l1FSVqineH3r4MEdzgg5Z3ump+ty QCuy0KQUHxvhd0o1tJMXagI7rFFiAOjlxCRuUp5LxaAjoVuTJbWX8Hg4s20Gp+Am /Q9dIReYvHbZxR36U/gi3dzInY+EWBS65JdBy4rEYVZUKqc52VHBjUwE5cpeNLSP Lmp2wMvX1ZCjdIeNy4ZXNr54uGsa1SpjC+7wQJk5fCb3EO7+IPhE1B1k/4qYpjWl mafOsUMGs3vzMx0N0Lhaerj7uG/Q5ZRurUMuu8QrJEqPgqD2rVl0DYLXF51m2v/3 +lvD7GNXGwmqzhanBKkffJThZNzhCnI4gwMRlxYrql+8a0IBrEv+WA== =5cyi -----END PGP SIGNATURE-----