[m-users.] Profiling
Delmas Buckley
rbuckley at ieee.org
Tue Apr 21 04:45:41 AEST 2015
Thank you, Matthias. I'll give these a try. Last night I reinstalled
-14.01.1 with all 12 grades. Robert Buckley
On Mon, Apr 20, 2015 at 10:50 AM, Matthias Guedemann <
matthias.guedemann at googlemail.com> wrote:
>
> > the lists? (2) Can anyone provide a few simple templates for (a)
> > compiling for profiling, and (b) executing with profiling.
>
> For your program, use for example:
>
> ,----
> | mmc --rebuild --make --profiling test_prime
> `----
>
> and then use
>
> ,----
> | mprof |less
> `----
>
> but you need a profiling grade for this. IIRC you mentioned that you
> used `--disable-most-grades`, if so, you need to configure and compile
> for profiling. You might also want to have a look at deep profiling with
> `mdprof`.
>
> Best would be to read the section in the user's guide:
>
>
> http://www.mercurylang.org/information/doc-latest/mercury_user_guide/Profiling.html#Profiling
>
> Best regards,
> Matthias
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20150420/6a9639ab/attachment.html>
More information about the users
mailing list