mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
Print number of "waits" per second during transmission, not just waits
per call to send().
This commit is contained in:
parent
8dee269791
commit
706cd483cd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135750
@ -196,6 +196,7 @@ timing_loop(int s, struct timespec interval, long duration, u_char *packet,
|
||||
duration);
|
||||
printf("approx error rate: %ld\n", (send_errors / send_calls));
|
||||
printf("waited: %lld\n", waited);
|
||||
printf("approx waits/sec: %lld\n", waited / duration);
|
||||
printf("approx wait rate: %lld\n", waited / send_calls);
|
||||
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user