[ndnSIM] [EXT] Retreive simulation time

Abedelwahed Salwa salwa201067 at gmail.com
Mon Oct 31 05:57:38 PDT 2022


Hi  , THanks a lot

How can i use it in a for loop and what variable does it return

Le lun. 31 oct. 2022 à 13:55, Junxiao Shi <shijunxiao at arizona.edu> a écrit :

> Please send any and ask questions to the mailing list.
> Do not write to individual developers.
>
> On Mon, Oct 31, 2022 at 08:54 Abedelwahed Salwa <salwa201067 at gmail.com>
> wrote:
>
>> *External Email*
>> Hi Junxiao , THanks a lot
>>
>> How can i use it in a for loop and what variable does it return
>>
>>
>> Le lun. 31 oct. 2022 à 13:30, Junxiao Shi <shijunxiao at arizona.edu> a
>> écrit :
>>
>>> Hi Abedelwahed
>>>
>>> Use ns3::Simulator::Now()
>>> <https://www.nsnam.org/docs/release/3.36/doxygen/classns3_1_1_simulator.html#ac3178fa975b419f7875e7105be122800>
>>> .
>>>
>>> Read the ns-3 Manual
>>> <https://www.nsnam.org/docs/release/3.36/manual/html/index.html> to get
>>> started.
>>> Information about timing is in "Events and Simulator" section.
>>>
>>> Yours, Junxiao
>>>
>>> On Mon, Oct 31, 2022 at 8:26 AM Abedelwahed Salwa via ndnSIM <
>>> ndnsim at lists.cs.ucla.edu> wrote:
>>>
>>>> *External Email*
>>>> Hi ,
>>>>
>>>> when using an ndnsim toplogy , i want to retreive the simulation time
>>>> during the simulation period , how can i proceed
>>>> THanks
>>>> _______________________________________________
>>>> ndnSIM mailing list
>>>> ndnSIM at lists.cs.ucla.edu
>>>> https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20221031/8b4ccccb/attachment-0001.html>


More information about the ndnSIM mailing list