gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] A c++ to Modula-2 translation question


From: Gaius Mulley
Subject: Re: [Gm2] A c++ to Modula-2 translation question
Date: Thu, 06 Dec 2012 22:17:12 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Steve Giess <address@hidden> writes:

> P.S. I'm just trying out Optimisation flags  -O1, -O2, -O3 on the gm2 build
> command line. I've read the GNU GCC description of these flags on the web. Are
> there any special points that apply to gm2 ? I am running a number intensive
> prog that takes about 3 hours on a 64bit machine even using -O3 !

have you tried profiling your code?

gm2 -pg etc etc
./a.out
gprof a.out

it lists the functions called and the amount of time spent in each
function call.

regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]