mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-25 06:14:18 +00:00
Branches: main, 11.07 Make the none.gc.memprof grade work with MSVC again. Avoid more warnings when compiling with MSVC. compiler/layout_out.m: Avoid an incomplete type in the declaration of the alloc_sites array. (Similar changes need to be made for the layout structures related to debugging and deep profiling - I am in the process of testing the former, the latter doesn't currently work on Windows any way.) browser/listing.m: Use don't-care variables in some foreign_procs. This avoids warnings about assignments from uninitialized variables with MSVC. */.cvsignore: Update cvsignore entries. Ignore files generated by mprof.
For documentation on the deep profiler, see the following:
- The "Deep Profiler" section of the Mercury web page
<http://www.cs.mu.oz.au/mercury/information/deep_demo.html>
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"
<http://www.cs.mu.oz.au/mercury/information/papers.html#mu_01_24>
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.