freebsd-nq/tools/tools
Luigi Rizzo 54dd21686d 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
2009-10-15 14:18:35 +00:00
..
aac Eliminate warnings by adding headers. 2008-01-17 18:59:59 +00:00
ansify
ath recognie invalid register names 2009-08-27 17:32:58 +00:00
backout_commit
build_option_survey Get the MK_FOO column right 2006-03-25 21:51:46 +00:00
cd2dvd Add simple cd to dvd conversion script. 2008-08-31 22:08:39 +00:00
cfi add cfi test tool 2009-02-05 18:15:20 +00:00
commitsdb
crypto Increase cryptotest tool initialization vector (IV) size. 2008-08-21 16:49:57 +00:00
editing style(9) specifies that case statements are not indented. 2008-07-30 03:34:23 +00:00
epfe
ether_reflect Add a new program, ether_reflect, which is useful in testing ethernet 2008-12-23 20:25:04 +00:00
find-sb Add fs_unrefs field to the super block structure. 2006-10-31 22:18:33 +00:00
gdb_regofs
genericize
hcomp
html-mv
ifinfo Make ifinfo build. The struct if_data members ifi_recvquota and 2009-03-04 01:31:09 +00:00
ipw Fix type warnings on 64-bit machines. 2006-06-21 09:52:37 +00:00
iso Added two tools to check the contents of /usr/share/misc/iso* with 2009-05-23 09:01:30 +00:00
iwi Style: NO_MAN doesn't need any value. 2006-03-15 10:46:38 +00:00
kdrv
kernelcruft
kerninclude
kernxref
kttcp
mctest Fix a bug in the man page where we were not showing the correct flags 2008-12-23 20:07:51 +00:00
mfc Enable autoflush of output to always show prompts. If piping the output 2008-04-30 23:27:02 +00:00
mfi Expand a comment for clarity and fix a missed substitution. 2007-01-02 04:51:26 +00:00
mid
mtxstat
mwl Update the includes to two more levels of subdirs. 2009-09-24 11:11:00 +00:00
nanobsd - When we run our trap cleanup handler, echo that we are running this 2009-09-27 21:01:07 +00:00
ncpus
net80211 Update for vaps: 2009-07-24 15:31:22 +00:00
netrate A small change to avoid calling gettimeofday() too often 2009-10-15 14:18:35 +00:00
npe add npe tools; first is npestats which reports device statistics 2009-05-23 19:16:34 +00:00
nxge Merge Neterion if_nxge driver version 2.0.9.11230 with the following 2007-10-29 14:19:32 +00:00
pciid pciconf(8) removes characters after an #, therefor remove them. 2009-06-06 13:33:11 +00:00
pciroms Make the PCI code aware of PCI domains (aka PCI segments) so we can 2007-09-30 11:05:18 +00:00
pirtool Remove 3rd clause, per email from bms 2007-01-11 05:00:30 +00:00
portsinfo
prstats
release
scsi-defects
sysbuild Remember to clear the ports list before generation for prefetch 2009-04-05 20:59:26 +00:00
syscall_timing
sysdoc
termcap Instead of only being able to compare two terminal definitions, now 2009-06-14 13:46:32 +00:00
tinybsd Add architecture support for TinyBSD 2009-06-20 20:35:50 +00:00
tionxcl Add new tool tionxcl to bring ttys out of exclusive mode when 2008-12-18 15:12:04 +00:00
track "track" is a script I've used for ages to track the progress of a build. 2008-03-20 10:15:45 +00:00
umastat Allow to use umastat on coredumps. 2007-02-06 17:57:20 +00:00
usb Vi got me in trouble in r187102 - fix typo of duplicate output filename. 2009-01-12 17:26:52 +00:00
vimage Bugfix: all requests for creating vnets via vimage -c were always 2009-08-21 11:13:56 +00:00
vop_table
whereintheworld
README Add an interim userland utility for managing vimages / virtualized 2009-06-06 12:50:10 +00:00

# $FreeBSD$

This directory is for tools.

A tool is something which is sometimes useful, and doesn't fit any of
the other categories.

Please make a subdir per program, and add a brief description to this
file.

ansify		Convert K&R-style function definitions to ANSI style
ath		Tools specific to the Atheros 802.11 support
backout_commit	A tool for reading in a commit message and generating
		a script that will backout the commit.
cfi		Common Flash Interface (CFI) tool
commitsdb	A tool for reconstructing commit history using md5
		checksums of the commit logs.
crypto		Test and exercise tools related to the crypto framework
diffburst	OBSOLETE: equivalent functionality is available via split -p.
		For example: "split -p ^diff < patchfile". See split(1).
editing		Editor modes and the like to help editing FreeBSD code.
epfe 		Extract printing filter examples from printing.sgml.
ether_reflect	An Ethernet packet reflector for low level testing.
find-sb		Scan a disk for possible filesystem superblocks.
gdb_regofs	A simple tool that prints out a register offset table
		for mapping gdb(1) register numbers to struct reg and
		struct fpreg offsets. The tool is useful on selected
		platforms only.
genericize	Turn a kernel config into something that can more easily
		be diffed against the appropriate GENERIC.
hcomp		Compress header files by removing comments and whitespace.
html-mv         Rename HTML generated filenames to human readable filenames.
ifinfo		Uses the interface MIB to print out all the information
		an interface exports in an ugly form.
iso             Tool to compare the iso3166 and iso639 files in
		/usr/share/misc with the data from the master sites.
iwi		Tools specific to the Intel PRO/Wireless 2200BG/2225BG/2915ABG
		support.
kdrv		KernelDriver; add/list/remove third-party kernel driver
		source to/in/from a kernel source tree.
kernelcruft	Shellscript to find orphaned *.c files in /sys
kerninclude	Shellscript to find unused #includes in the kernel.
kernxref	Shellscript to cross reference symbols in the LINT kernel.
kttcp		An in-kernel version of the ttcp network performance tool
mctest		A multicast test program
mfc		Merge a directory from HEAD to a branch where it does not
		already exist and other MFC related script(s).
mid	 	Create a Message-ID database for mailing lists.
mwl		Tools specific to the Marvell 88W8363 support
ncpus		Count the number of processors
npe		Tools specific to the Intel IXP4XXX NPE device
nxge		A diagnostic tool for the nxge(4) driver
pciid		Generate src/share/misc/pci_vendors.
pciroms		A tool for dumping PCI ROM images. WARNING: alpha quality.
pirtool		A tool for dumping the $PIR table on i386 machines at runtime.
portsinfo 	Generate list of new ports for last two weeks.
prstats		Generate statistics about the PR database.
recoverdisk	Copy as much data as possible from a defective disk.
scsi-defects	Get at the primary or grown defect list of a SCSI disk.
sysdoc		Build a manual page with available sysctls for a specific
		kernel configuration.
tinybsd		Script to build FreeBSD embedded systems.
track		Track the progress of a world / kernel build
vimage		An interim utility for managing the virtualized network
		stack infrastructure.
vop_table	Generates a HTML document that shows all the VOP's in
		the kernel.
whereintheworld	Summarizes "make world" output.