diff options
author | rwatson <rwatson@FreeBSD.org> | 2010-10-21 16:08:31 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2010-10-21 16:08:31 +0000 |
commit | 5da57c7fdfb4cd743ae8e8a25154bb1cd31d37cd (patch) | |
tree | 49d6bbbf9da8f264c6299331b7ed76a9f9aa7ed7 /sys/net/if.c | |
parent | ca64e82eb9dac04adb0412c62cfb6c7dd82303cb (diff) | |
download | FreeBSD-src-5da57c7fdfb4cd743ae8e8a25154bb1cd31d37cd.zip FreeBSD-src-5da57c7fdfb4cd743ae8e8a25154bb1cd31d37cd.tar.gz |
Improve the structure and implementation of the syscall_timing
microbenchmark suite:
- Use common benchmark_start/benchmark_stop routines to simplify
individual benchmarks.
- Add a central table of tests with names, where new tests can be
hooked in easily.
- Add new benchmarks for dup, shm_open, shm_open + fstat, fork,
vfork, vfork + exec, chroot, setuid.
- Accept a number of loops, not just a number of iterations.
- Report results more usefully in a table.
Sponsored by: Google, Inc.
MFC after: 2 weeks
Diffstat (limited to 'sys/net/if.c')
0 files changed, 0 insertions, 0 deletions