[Openmcl-devel] Profiling Parenscript compilation
hans at huebner.org
Thu Dec 4 10:56:06 UTC 2008
I committed a fix to the deterministic profiler so that it should now
work on Darwin, too. Please give it a try:
(PROF:PROFILE foo) ; profile function foo
(PROF:PROFILE "FOO") ; profile package "FOO"
(PROF:REPORT) ; write out profiling report
(PROF:RESET) ; reset profiling
(PROF:UNPROFILE foo) ; unprofile function foo
(PROF:UNPROFILE-ALL) ; unprofile everything
Note that the profiler must be initialized before any threads are
started as it uses thread-specific data. I load it in my
ccl-init.lisp like so:
(push (merge-pathnames #P"tools/advice-profiler/"
(asdf:oos 'asdf:load-op :profiler)
Let me know if you have any issues or questions.
More information about the Openmcl-devel