[m-dev.] deep profiler (mostly) working again
Julien Fischer
juliensf at cs.mu.OZ.AU
Mon Jun 20 13:14:04 AEST 2005
Hi all,
The deep profiler is now (sort of) working again, at least
to the point where you can profile some programs and get
useful feedback from it.
I've documented the steps necessary for viewing a deep
profile on aral.
* Start the webserver (if it isn't already running)
> /etc/init.d/httpd start (as root)
(This is normally turned off by the way.)
* Make sure the CGI "script" mdprof_cgi has been
installed. On aral it should live in /var/www/cgi-bin
* Make sure that the Deep.data file you are using is
world readable
* You should be able to browse the profile by pointing
your web browser at:
http://aral.cs.mu.oz.au/cgi-bin/mdprof_cgi?/pathname/Deep.data
I've put a deep profile of the gears demo from the opengl binding
in /home/aral/deep, if anyone wants to have a play with it.
(NOTE: The port counts for main and main_2 are bit funny in this profile
because of the way the GLUT binding works.)
A couple of notes:
- not everything works at the moment, asking for
certain types of webpage will cause it to throw
an exception.
- you can't currently deep profile the compiler,
(there are apparently still bugs in the deep
profiling runtime.)
- there are no doubt other problems
- the .profdeep grade is installed on most of our machines,
but most of them don't have webservers installed.
i
Julien.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list