[Nfd-dev] [EXT] NFD Profiling tool

Davide Pesavento davidepesa at gmail.com
Fri Dec 24 11:36:01 PST 2021


On Fri, Dec 24, 2021 at 7:48 AM Ahmed Taffal via Nfd-dev
<nfd-dev at lists.cs.ucla.edu> wrote:
>
> So I tried to use the gprof and I rebuilt the ndn-cxx and the NFD using this command CXXFLAGS="-o2 -g -pg -pedantic -Wall" ./waf configure. After terminating the NFD with nfd-stop I am not getting the gmon.out file. Should I use another method to terminate the NFD in order to get that file?

Make sure you add "-pg" to the LINKFLAGS as well. Also please note
that the optimization flag is "-O2" with a capital "O".

Davide


More information about the Nfd-dev mailing list