[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Mark.Kantrowitz@A.GP.CS.CMU.EDU, firstname.lastname@example.org
- Subject: Re: consing
- From: "Michael_Travers.EuroPARC"@Xerox.COM
- Date: 28 Jun 90 18:04:03 PDT (Thursday)
- Cc: "Michael_Travers.EuroPARC"@Xerox.COM
- In-reply-to: Mark.Kantrowitz@A.GP.CS.CMU.EDU's message of 29 Jun 90 01:49 BST
- Sender: "Michael_Travers.EuroPARC"@Xerox.COM
Date: 28 Jun 90 16:35:36 PDT (Thursday)
Why don't you advise GC so that it keeps a running total of
the number of flushed conses? There is an advise package
available from MIT, but it's easy enough to kludge it for
I wasn't aware that GC returned any values, let alone the number of
The idea was that you could use your function to count the conses present
before and after a GC, take the difference of that, and add the result to a
global count. Then that number plus the current cons count would be the
total number of conses made. I'm not sure if this will really work since I
don't know the characteristics of GC or your reporting function or what it
is that you are really trying to measure.
Creating advice may cons, but calling an advised function oughtn't,
especially when there are no arguments.
The MIT utilities aren't in a public space yet due to snafus, but you could
probably send mail to email@example.com for a pointer.