<div dir="ltr">Hi,<div>Sorry to my mistake, that's data packet.</div><div><br></div><div>Thanks for your help.</div><div><br></div><div>Best wishes,</div><div>qhsong</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-15 1:50 GMT+08:00 Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">mastorakis@cs.ucla.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I guess you meant to say Data packets :-)<div><br></div><div>If the MaxSize of the CS of a node is 1024, this node has a CS that can store 1024 data packets.</div><div><br></div><div>Hope that this helps.</div><div><span class=""><br><div>
<div><div><div><span style="float:none;display:inline!important">Spyridon (Spyros) Mastorakis</span><br><span style="float:none;display:inline!important">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~mastorakis/</a><br><span style="float:none;display:inline!important">Internet Research Laboratory</span><br><span style="float:none;display:inline!important">Computer Science Department</span><br><span style="float:none;display:inline!important">UCLA</span></div><div><br></div></div></div></div></span><div><div class="h5"><div><blockquote type="cite"><div>On Jun 14, 2016, at 3:21 AM, qhsong <<a href="mailto:ndn@sqh.me" target="_blank">ndn@sqh.me</a>> wrote:</div><br><div><div dir="ltr">Hi,<div>For example,  I use SetOldContentStore to set "MaxSize" for a node, I set MaxSize is 1024.</div><div>That means this node can store 1024 Interest packets, Or this node can store 1024B Interest packet totally.</div><div>Do you get my point?</div><div><br></div><div>Best wishes,</div><div>qhsong</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-09 6:25 GMT+08:00 Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">mastorakis@cs.ucla.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>I am not sure I understand your question. Could you tell me where you found this term, so that I can understand the context?</div><div><br></div><div>Thanks,</div><div><span><br><div>
<div><div><div><span style="float:none;display:inline!important">Spyridon (Spyros) Mastorakis</span><br><span style="float:none;display:inline!important">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~mastorakis/</a><br><span style="float:none;display:inline!important">Internet Research Laboratory</span><br><span style="float:none;display:inline!important">Computer Science Department</span><br><span style="float:none;display:inline!important">UCLA</span></div><div><br></div></div></div></div></span><span><div><blockquote type="cite"><div>On Jun 8, 2016, at 7:31 AM, qhsong <<a href="mailto:ndn@sqh.me" target="_blank">ndn@sqh.me</a>> wrote:</div><br><div><div dir="ltr">BTY, Is"max content size" means max  content entry number, not the total size of content entry file number?<div><br></div><div>qhsong</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-02 9:41 GMT+08:00 Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">mastorakis@cs.ucla.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>if you use the CS of NFD, you can use the size() method of the CS class to get the number of packets stored in CS:</div><div><br></div><div><a href="https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.3.4-ndnSIM/daemon/table/cs.hpp#L125" target="_blank">https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.3.4-ndnSIM/daemon/table/cs.hpp#L125</a></div><div><br></div><div>If you use the CS of ndnSIM, you can use the GetSize() method to retrieve the number of packets stored in CS:</div><div><br></div><div><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/cs/ndn-content-store.hpp#L151-L152" target="_blank">https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/cs/ndn-content-store.hpp#L151-L152</a></div><div><br></div><div>Use example:</div><div><br></div><div><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/a4915caa0c4121f2dd87fd3d7cc3b6eb91632f16/tests/other/ndn-test.cpp#L113-L116" target="_blank">https://github.com/named-data-ndnSIM/ndnSIM/blob/a4915caa0c4121f2dd87fd3d7cc3b6eb91632f16/tests/other/ndn-test.cpp#L113-L116</a></div><div><br></div><div>Hope that this helps!</div><div><span><font color="#888888"><br><div>
<div><div><div><span style="float:none;display:inline!important">Spyridon (Spyros) Mastorakis</span><br><span style="float:none;display:inline!important">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~mastorakis/</a><br><span style="float:none;display:inline!important">Internet Research Laboratory</span><br><span style="float:none;display:inline!important">Computer Science Department</span><br><span style="float:none;display:inline!important">UCLA</span></div></div></div>
</div></font></span><div><div>
<br><div><blockquote type="cite"><div>On May 30, 2016, at 4:42 AM, Dhiab Imen <<a href="mailto:dhiabimen@gmail.com" target="_blank">dhiabimen@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Hi all,<div><br></div><div>I want to know if it is possible to get total size of cached content in the content Store? and how??</div><div> </div><div>thanks for help.<br><div><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><span>Cordialement </span></div><div><span>Imen Dhiab</span></div></div></div></div></div></div></div></blockquote></div></div></div></div></div>
<br></blockquote></div><br></div>
</div></blockquote></div><br></span></div></div></blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>