wenliangxue commented on a change in pull request #1066:
URL: 
https://github.com/apache/incubator-nuttx-apps/pull/1066#discussion_r826931328



##########
File path: netutils/ping/icmpv6_ping.c
##########
@@ -289,7 +308,7 @@ void icmp6_ping(FAR const struct ping6_info_s *info)
               goto done;
             }
 
-          elapsed = (unsigned int)TICK2MSEC(clock() - start);
+          elapsed = (unsigned int)TICK2USEC(clock() - start);

Review comment:
       Statistics are performed in milliseconds. The time value in the returned 
packet of the ping command cannot be accurate to two decimal places.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to