<div dir="ltr"><div>From the coverage code report, I can see which functions and lines are executed in each hpp or cpp file, But there is no information about the time each function consumed.</div><div>So I tried to use the gprof and I rebuilt the ndn-cxx and the NFD using this command <i>CXXFLAGS="-o2 -g -pg -pedantic -Wall" ./waf configure</i>. 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? <i><br></i></div><div><br></div><div><i>Regards,</i></div><div><i>Ahmed</i><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 24 Dec 2021 at 11:55, Ahmed Taffal <<a href="mailto:a.taffal96@gmail.com">a.taffal96@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank you very much,<div><br></div><div>Regards,</div><div>Ahmed</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 24 Dec 2021 at 02:18, Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi Ahmed</div><div dir="auto"><br></div><div dir="auto">Code coverage files are usually in the same place as the compiled object files, inside the "build" directory.</div><div dir="auto">You should see both *.gcno and ".gcda files there.</div><div dir="auto">They will be generated when NFD exits normally (not crashed).<br></div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 23, 2021 at 11:31 Ahmed Taffal <<a href="mailto:a.taffal96@gmail.com" target="_blank">a.taffal96@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p style="text-align:center"><font color="red"><strong>External Email</strong><br></font></p><div dir="ltr"><div>Thanks a lot for your reply,<br></div><div>I  rebuilt ndn-cxx and NFD with code coverage, but I am missing where the coverage files are located.</div><div>Are they generated automatically in a specific path? or do I need to run some commands to get them (<a href="https://redmine.named-data.net/projects/nfd/wiki/CodeCoverage" target="_blank">CodeCoverage - NFD - NDN project issue tracking system (named-data.net)</a>)?</div><div><br></div><div>Regards,</div><div>Ahmed</div></div></blockquote></div></div>
</blockquote></div>
</blockquote></div>