Alternatively, you can add some code in the script to measure the time required to execute the run (see for example this post).
If you need it for performance measuring (e.g., to optimise your code), check the ns-3 manual about profiling.
Saurabh
unread,
Jul 21, 2024, 8:11:31 AM (23 hours ago) Jul 21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
Dear Sir,
Thanks a ton for your guidance.
One another thing would like to seek your guidance on how to check the initial energy level of a node in the .cc file and how to check the energy level of a node after some simulation has been executed. This is just to check how much energy of a node got depleted during the process.
Please Guide...
Regards
Tommaso Pecorella
unread,
Jul 21, 2024, 10:01:53 AM (21 hours ago) Jul 21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
No need to guide you. There are plenty of examples - in the "examples" directory.
Please - please - don't tell me you need guidance to find "examples/energy"