summaryrefslogtreecommitdiffstats
path: root/share/man/man9/hexdump.9
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2009-10-15 14:18:35 +0000
committerluigi <luigi@FreeBSD.org>2009-10-15 14:18:35 +0000
commitc369f72e79562af70cc2ac640a8099842519403d (patch)
tree5975ea7c59ac3207b8f13198a13dfc3426b47d39 /share/man/man9/hexdump.9
parentf88b32f139a5e8b2b91b99937b72aa0fab472bf4 (diff)
downloadFreeBSD-src-c369f72e79562af70cc2ac640a8099842519403d.zip
FreeBSD-src-c369f72e79562af70cc2ac640a8099842519403d.tar.gz
A small change to avoid calling gettimeofday() too often
(hardwired to once every 20us at most). I found out that on many machines round here, i could only get 300-400kpps with netsend even on loopback and a 'deny' rule in the firewall, while reducing the number of calls to gettimeofday() brings the value to 900kpps and more. This code is just a quick fix for the problem. Of course it could be done better, with proper getopt() parsing and the like, but since this applies to the entire program i'll postpone that to when i have more time. Reviewed by: rwatson MFC after: 1 month
Diffstat (limited to 'share/man/man9/hexdump.9')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud