modify the platform so that we can measure the latency of packets from it begin send a msg until it received by sink