From owner-cvs-src-old@FreeBSD.ORG Thu Oct 21 16:08:45 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC9E9106566B for ; Thu, 21 Oct 2010 16:08:45 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AA8E98FC18 for ; Thu, 21 Oct 2010 16:08:45 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o9LG8jo2086368 for ; Thu, 21 Oct 2010 16:08:45 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o9LG8jf4086367 for cvs-src-old@freebsd.org; Thu, 21 Oct 2010 16:08:45 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <201010211608.o9LG8jf4086367@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Thu, 21 Oct 2010 16:08:31 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/tools/tools/syscall_timing syscall_timing.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2010 16:08:45 -0000 rwatson 2010-10-21 16:08:31 UTC FreeBSD src repository Modified files: tools/tools/syscall_timing syscall_timing.c Log: SVN rev 214135 on 2010-10-21 16:08:31Z by rwatson 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 Revision Changes Path 1.4 +374 -106 src/tools/tools/syscall_timing/syscall_timing.c