[Openmcl-devel] Profiling using Shark
gb at clozure.com
Mon Feb 11 23:45:03 UTC 2008
The good news is that ccl:library;chud-metering.lisp should already
know how to write spatch files for Shark, and that it seems to have
been conditionalized for x86-64 and ppc64.
The bad news is that - even though CHUD's release notes have declared
it to be 64-bit aware for the last year or so - the libraries used
to control profiling from an application are still only available
in 32-bit versions. (This was true as of a few months ago;
I haven't checked to see if more recent versions are available
and if they address the issue.)
I don't know if Shark understand 64-bit spatch files, or if
the syntax of the spatch files generated by the function in
chud-metering.lisp matches its expectations.
On Mon, 11 Feb 2008, Osei Poku wrote:
> I am trying to profile my lisp code in clozure using Shark. Based on
> the following ml posting, I am trying to create the spatch file.
> However, it appears that the print-shark-spatch-record calls the
> ccl:uvref function to determine the start and end addresses of the
> function whose record is peing printed. However, it appears that
> uvref no longer works on compiled function objects. Are the details
> in this email still valid or is there an updated way of profiling.
> Thanks in advance for your help.
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
More information about the Openmcl-devel