<div dir="ltr">Thank you, Matthias. I'll give these a try. Last night I reinstalled -14.01.1 with all 12 grades. Robert Buckley</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 20, 2015 at 10:50 AM, Matthias Guedemann <span dir="ltr"><<a href="mailto:matthias.guedemann@googlemail.com" target="_blank">matthias.guedemann@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> the lists? (2) Can anyone provide a few simple templates for (a)<br>
> compiling for profiling, and (b) executing with profiling.<br>
<br>
</span>For your program, use for example:<br>
<br>
,----<br>
| mmc --rebuild --make --profiling test_prime<br>
`----<br>
<br>
and then use<br>
<br>
,----<br>
| mprof |less<br>
`----<br>
<br>
but you need a profiling grade for this. IIRC you mentioned that you<br>
used `--disable-most-grades`, if so, you need to configure and compile<br>
for profiling. You might also want to have a look at deep profiling with<br>
`mdprof`.<br>
<br>
Best would be to read the section in the user's guide:<br>
<br>
<a href="http://www.mercurylang.org/information/doc-latest/mercury_user_guide/Profiling.html#Profiling" target="_blank">http://www.mercurylang.org/information/doc-latest/mercury_user_guide/Profiling.html#Profiling</a><br>
<br>
Best regards,<br>
Matthias<br>
</blockquote></div><br></div>