[ndnSIM] LRU Content Store AggregateStats (Update Column is always zero)
ahmed.waliullah.kazi at gmail.com
Wed Aug 27 02:51:58 PDT 2014
In my experiments, I am using LRU Content Stores. I have used the
AggregateStats policy to generate statistics for the content stores. I
noticed that when I print the statistics, the Update (GetUpdates()) column
is always zero. This leads to my question which is to know the scenarios
(and its also the place within the code) in which the values in this column
will start to change/increase.
My understanding is that an LRU cache entry is updated: (a) when we try to
add an element that is already in the cache (ContentStoreImpl<Policy>::Add
(Ptr<const Data> data) or (b) when we lookup for an element, find it in the
cache (ContentStoreImpl<Policy>::Lookup (Ptr<const Interest> interest)). In
both these cases, the entry for element/object in the cache needs to be
updated. Are the values in the Update column filled based on this
understanding or am I missing something here?
Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM