[Nfd-dev] [EXT] NFD Profiling tool

Ahmed Taffal a.taffal96 at gmail.com
Mon Jan 3 03:06:40 PST 2022


Hi Davide,

Thanks a lot for your help!

Regards,
Ahmed

On Fri, Dec 31, 2021, 12:45 AM Davide Pesavento <davidepesa at gmail.com>
wrote:

> Ahmed,
>
> Block::~Block() doesn't create anything. It's the destructor of the
> C++ class "Block", which represents a TLV element in memory. The time
> spent in the destructor probably includes memory deallocation. Memory
> management in the ndn-cxx library has never been seriously optimized,
> so I'm not surprised that this shows up in the profiling results.
>
> Best regards,
> Davide
>
> On Mon, Dec 27, 2021 at 3:25 PM Ahmed Taffal <a.taffal96 at gmail.com> wrote:
> >
> > And for NFD profiling, I used gprof and as you can see in the picture
> below, the ndn::Block::~Block() function is the highest time consuming
> which is used to create an invalid block as mentioned in the ndn-cxx
> documentation, so I wonder what exactly they mean by invalid block.
> >
> > Regards,
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20220103/9a6e8c02/attachment.html>


More information about the Nfd-dev mailing list