Re: [Felix-language] Memory and garbage

2006-10-31 Thread Jonathan Kelly
skaller wrote: > On Wed, 2006-11-01 at 18:06 +1100, Jonathan Kelly wrote: > > >> OK, I can see the functions, but how to expose them, I have no idea. >> Could you help out? >> > > > #import > > fun mem: 1 -> ulong = > "(PTF gc)->get_allocati

Re: [Felix-language] Memory and garbage

2006-10-31 Thread skaller
On Wed, 2006-11-01 at 18:06 +1100, Jonathan Kelly wrote: > OK, I can see the functions, but how to expose them, I have no idea. > Could you help out? #import fun mem: 1 -> ulong = "(PTF gc)->get_allocation_amt()" requires property "needs_gc" ;

Re: [Felix-language] Memory and garbage

2006-10-31 Thread Jonathan Kelly
skaller wrote: > On Tue, 2006-10-31 at 22:15 +1100, Jonathan Kelly wrote: > >> Hi, >> >> is there some way of measuring the memory useage in felix, from the os >> and/or the gc system? Also, does the collector expose any information >> statistics about memory useage / garbage collected? >>

Re: [Felix-language] Memory and garbage

2006-10-31 Thread skaller
On Tue, 2006-10-31 at 22:15 +1100, Jonathan Kelly wrote: > Hi, > > is there some way of measuring the memory useage in felix, from the os > and/or the gc system? Also, does the collector expose any information > statistics about memory useage / garbage collected? Yes. If you run with --debug yo

[Felix-language] Memory and garbage

2006-10-31 Thread Jonathan Kelly
Hi, is there some way of measuring the memory useage in felix, from the os and/or the gc system? Also, does the collector expose any information statistics about memory useage / garbage collected? thanks Jonathan. - Using