[ndnSIM] Get Cached Content Size

Dhiab Imen dhiabimen at gmail.com
Mon May 30 06:07:13 PDT 2016


Hi Junxiao,

I want to display something like that:

 std::cout<< "At " << Simulator::Now ().GetSeconds ()<<"Cached Content
Size(Total size in the cache)" <<
cs->GetData.GetSize()<<std::endl;

I don't Know how ??




2016-05-30 13:59 GMT+01:00 Junxiao Shi <shijunxiao at email.arizona.edu>:

> Hi Dhiab
>
> ContentStore size should be 500MB.
>
> https://github.com/named-data/NFD/blob/d7c96360782a1b7f50095aa212c1294fc207115f/nfd.conf.sample.in#L48-L50
>
> Yours, Junxiao
>
> 2016-05-30 4:42 GMT-07:00 Dhiab Imen <dhiabimen at gmail.com>:
>
>> Hi all,
>>
>> I want to know if it is possible to get total size of cached content in
>> the content Store? and how??
>>
>> thanks for help.
>>
>> --
>> Cordialement
>> Imen Dhiab
>>
>


-- 
Cordialement
Imen Dhiab

***************************************************************************************************
Ingénieur Informatique diplômé de l'Ecole Nationale d'Ingénieurs de Sfax.
Membre de l'unité de recherche SAGE (Systèmes Avancés en Génie Electrique),
Ecole Nationale d'Ingénieurs de Sousse.
+216 53 59 19 88
Pages personnelles :
http://www.sage-eniso.org/profile-membre/fr/T/85/dhiab-imene.html
***************************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160530/b4eef798/attachment.html>


More information about the ndnSIM mailing list