How to calculate the throughput in Cooja simulator
问题 Hi All, I work with example/ipv6/rpl-udp files in cooja simulator. How do I measure the amount of throughput in the network? With the command "powertrace_start(CLOCK_SECOND * 60); " in the client.c code, I get the Powertrace output. Can I use this method? throughput= packet received / Simulation time Simulation time = (ENERGEST_TYPE_TRANSMIT + ENERGEST_TYPE_LISTEN) / 32768 Is the method correct? Thanks in advance, Nasrin 回答1: No, that is not correct as ENERGEST_TYPE_* are constants. One way