[m-users.] Profiling

Delmas Buckley rbuckley at ieee.org
Tue Apr 21 10:21:26 AEST 2015


Thank you, Paul. Robert Buckley

On Mon, Apr 20, 2015 at 5:09 PM, Paul Bone <paul at bone.id.au> wrote:

> On Mon, Apr 20, 2015 at 07:23:09PM +0200, Tomas By wrote:
> > On Mon, April 20, 2015 17:52, Delmas Buckley wrote:
> > > (1) How can I search the lists?
> >
> > Use google "site:mercurylang.org <keywords>"
> >
> >
> > > (2) Can anyone provide a few simple templates for (a) compiling for
> > > profiling, and (b) executing with profiling.
> >
> > You need (I believe) to create a "Mmake" file, no apparently it is
> > "Mmakefile", with the line "GRADEFLAGS=--profiling", before you compile.
>
> mmake and Mmakefiles are deprecated.  I suggest using mmc --make to build
> programs instead.  To give it options saved in a file name the file
> Mercury.options  It can take options such as "GRADE" and "MCFLAGS" etc.
>
> This is kind-of all over the place in the User's Guide:
>
>     Generally but not a good "guide":
>
> http://www.mercurylang.org/information/doc-release/mercury_user_guide/Using-mmc.html#Using-mmc
>
> http://www.mercurylang.org/information/doc-release/mercury_user_guide/Using-Mmake.html#Using-Mmake
>
>     Options files:
>
> http://www.mercurylang.org/information/doc-release/mercury_user_guide/Using-Mmake.html#Using-Mmake
>
>     mmc --make and libraries:
>
> http://www.mercurylang.org/information/doc-release/mercury_user_guide/Building-with-mmc-_002d_002dmake.html#Building-with-mmc-_002d_002dmake
>
> Cheers.
>
>
> --
> Paul Bone
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20150420/edb72046/attachment.html>


More information about the users mailing list