[ndnSIM] PIT stats examples

Flávio Queiroz flavioqueiroz2004 at hotmail.com
Tue May 7 12:51:28 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Alex,
I did not change in the script. I copy all examples in my
ndnSIM-scenario-template/scenarios. Others examples run normally.
Flávio

Em 07/05/13 15:29, Alex Afanasyev escreveu:
> Hi Flávio,
> 
> For the first example, did you change anything in the script?
> Especially about this line: ndnHelper.SetPit
> ("ns3::ndn::pit::Persistent::AggregateStats");
> 
> I just run an unmodified ndn-simple-with-pit-operation-stats.cc and
> it didn't not give me any error. I tried on Mac and Linux with the
> latest versions of NS-3 and ndnSIM.
> 
> For the second example. There was an error with the header format.
> The scenario actually printed out only 4 parameters: Time, NodeId,
> NodeName, and NumberOfPitEntries.  I have pushed the correction.
> 
> --- Alex
> 
>> Hi Alex,
>> 
>> I ran the PIT stats examples:
>> 
>> 1)"ndn-simple-with-pit-operation-stats.cc" and printed:
>> 
>> Time	NodeId	Updates	Inserts	Lookups	Erases Invalid PIT class,
>> please correct the scenario
>> 
>> 2) "ndn-simple-with-pit-count-stats.cc" with "Simulator::Schedule
>> (Seconds (0.001), PeriodicStatsPrinter, nodes.Get (1), Seconds
>> (0.001));" and not printed Lookups/NumberOfPitEntries
>> 
>> Time	NodeId	NodeName	Inserts	Lookups	NumberOfPitEntries 0.001	1
>> router	0 0.002	1	router	0 0.003	1	router	0 0.004	1	router	0 0.005
>> 1	router	0 0.006	1	router	0 0.007	1	router	0 0.008	1	router	0 
>> 0.009	1	router	0 0.01	1	router	0 0.011	1	router	1 0.012	1	router
>> 1 0.013	1	router	1 0.014	1	router	1 0.015	1	router	1 0.016	1
>> router	1 0.017	1	router	1 0.018	1	router	1 0.019	1	router	1 0.02
>> 1	router	1 0.021	1	router	1
>> 
>> Do you know what is happening? Thank you in advance, Flávio
> 
> 
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.19 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJRiVtAAAoJEIy5DnI1QUFWMxsP/33wrIKMFVnm/vjHlH4zAf/2
zFWWpdR7a/QFfFHqE3OTWrrjZDjib7xJ940NLiz8j9XcrozTB3Bk4iqehplyuqEb
4YtiZGCe50/Ije1kHAj9xXcYaEWIT0mEM1HVUDSQsAyG9o/LjgCjV7mkvAb4W+TL
NTmwxuLwbEI7uSZUhDY2tfLd1dHe/XukYv869xrwm2Bk97QOLbNhYIrE0cKJ9YaQ
1kdSm+Orzc/ESyiqj/YC3ssSA0dFzURuYU8mEKrsBeXe7hE6QWxIF/DPrcKzhLvS
Mtl0CQpe/4NOxvUHiFrbCeTSYaRgHiZIk0UFd0ZLJXTdUeplTCdAvRkvCIGYcqyS
gVQ8RVQlTG18EDqYgrtxruYEhUMo5BrML3MfvUuCbsxQPAUeEdlW12iMHODNmX2x
Jlew9rD6aPWj8P9sg+LLlbqRP1ODVDigCf2wztV6maKX+NagvKLpLAZEeOel7S/1
6aGb7BR4JiVuTHjT6n1DYN0+uX2oEcQnp3FrMkEnTvwQgH703tnRO0g+LXDu5yPw
bsXjgqz+1yAnaTsMJ2mtlbLd8fetzjvJnwHpHxOKhimtXXsjlEv2wxqZjLMrOF4d
MCzqD0DwZ6rxisTm1mKlJS3uoFMun+jEYJ47VcmXPSXWPP0gSLp9cxnhE460z5ot
ZroqBlsDGGmvDbKXFcvC
=wdcc
-----END PGP SIGNATURE-----




More information about the ndnSIM mailing list