I implemented a BitTorrent simulation, using Peersim simulator. Now I want to measure energy consumption. Is there any idea how to do it? Or a class maybe to use?
Also I have an idea based on (node) hops, how could I implement it?
I would be grateful for any help you can provide!