<div dir="ltr">Junxiao,<div><br></div><div>Thanks a ton - I have no idea how I'd forgotten / skipped over the onContentStore<Hit, Miss> methods.  Thanks a ton.</div><div><br></div><div>I created a Redmine issue and assigned to Alex Afansayev - I had no idea who was supposed to get it so I figured he would be able to reassign it.</div><div><br></div><div>Thanks,</div><div><br></div><div>John</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jul 30, 2017 at 12:49 AM, Junxiao Shi <span dir="ltr"><<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="auto">Hi John</div><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div></div></blockquote><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><br></div><div>1.)  On the documentation page for the Tracers, under CsTracer heading, there is a warning:</div><div><span style="color:rgb(0,0,0);font-family:"Lucida Grande",Verdana,Geneva,Arial,sans-serif;font-size:14.6667px;text-align:justify">NOTE: This tracer works ONLY when the content store structure of ndnSIM is used!</span><br></div><div>Could someone please clarify what this means?  I'm using a CS from ndnSIM...  what else could I be using?  Therefore, "... content store structure of ndnSIM ..." is a little unclear.</div></div></blockquote><div dir="auto"><br></div></span><div dir="auto">I guess it means CsTracer only supports ndnSIM 1.0 style ContentStore, which you can set with SetOldContentStore function.</div><div dir="auto">I suggest you report a documentation bug on ndnSIM Redmine site.</div><span class=""><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><span style="color:rgb(0,0,0);font-family:"Lucida Grande",Verdana,Geneva,Arial,sans-serif;font-size:14.6667px;text-align:justify"><br></span></div><div>2.)  If I indeed have to write a custom cache hit and miss calculation, where would be the best place to obtain this data?  Would it have to be in the Forwarder class?  As an interest is received, there should be some way to see if the named interest matches something in the Cs, correct?  Or would the custom lookup table be better than looking in the actual Content store?</div></div></blockquote><div dir="auto"><br></div></span><div dir="auto">Yes, either in the Forwarder at the beginning of onContentStoreHit and onContentStoreMiss functions, or in Cs class where it returns a lookup result.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div></div></blockquote></div></div>
</blockquote></div><br></div>