On Jun 8, 6:41 am, Julien Mineraud <
julien.miner...@gmail.com> wrote:
> Hi,
>
> What you can do is too configure ns-3 to optimized
> CXXFLAGS='-g' ./waf configure -d optimized
> then build: ./waf build
> then use valgring: ./waf --run yourprogam --command-template="valgrind
> --tool=callgrind --time-stamp=yes %s"
>
> Then you should get a file callgrind.out.xxxxx.
> After you need a program to visualise the result file, such as
> KCachegrind.
>
> For mac OS X:
http://kcachegrind.darwinports.com/http://www.maccallgrind.com/http://sourceforge.net/projects/ccg/
>
> I am not on Mac OS X so I didnt try any of those.
>
> Regards
>
> Julien
>
> On 8 juin, 05:44, gglggl <
ggl...@gmail.com> wrote:
>
> > Can someone give me details on how to enable profiling with ns-3.6,
> > not obvious from the waf command line options.
> > I'm using Mac OS X 10.5.8 on Intel.
> > Thanks,
> > G
>
>