[ndnSIM] Content Store Caching/Replacement Policies
jpbaugh at umich.edu
Wed Dec 7 20:57:40 PST 2016
Once again, I thank you all for your help and patience.
1.) In *cs-policy-lru.cpp*, the doBeforeErase function is as follows:
* LruPolicy::doBeforeErase(iterator i)*
Note that it is removing an item from the queue, apparently. However, I
was told this is just another copy of the table of iterators that the Cs
If this is so, how is this actually having any effect of the contents in
the Cs itself?
2.) I noticed that there is an *emitSignal* when entries as evicted, and
it has beforeEvict as the first argument (in both LRU and Priority Fifo) -
what exactly is this signal emission doing? Does this tell the Cs itself
to remove entries?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM