For documentation on the deep profiler, see the following: - The "Deep Profiler" section of the Mercury web page gives an overview of what deep profiling is. - The deep profiling paper on our web site, "Deep profiling: engineering a profiler for a declarative programming language" explains in detail what deep profiling is, why it is needed, and how it is implemented in the Mercury compiler. - The "Using mdprof" section of the "Profiling" chapter of the Mercury user's guide explains how to use it. - The file deep_profiler/notes/deep_profiling.html gives an overview of the specifics details of our implementation of deep profiling.