This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: is there a gc hook?


>>>>> "Russell" == Russell McManus <russell.mcmanus@msdw.com> writes:

Russell> Is there a way for me to time gc runs and print out the results?
Russell> I've got some performance issues I've got to track down, and I didn't
Russell> see anything obvious in the source code.

There is `gc-thunk' as in

        (set! gc-thunk (lambda () (display "#gc'ing\n")))
        (gc)


---------------------------+--------------------------------------------------
Christian Lynbech          | Ericsson Telebit A/S                       
Fax:   +45 8628 8186       | Fabrikvej 11, DK-8260 Viby J
Phone: +45 8738 2228       | email: chl@tbit.dk --- URL: http://www.tbit.dk
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]