The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/tools/tests/libMicro/

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

Name Size Last modified (GMT) Description
Back Parent directory 2009-09-10 23:52:03
Folder apple/ 2009-09-10 23:52:26
File AppleReadMe 4106 bytes 2009-09-10 23:52:28
File Makefile 2362 bytes 2009-09-10 23:52:25
File Makefile.Aix 1011 bytes 2009-09-10 23:52:25
File Makefile.Darwin 1650 bytes 2009-09-10 23:52:25
File Makefile.Linux 1065 bytes 2009-09-10 23:52:25
File Makefile.SunOS 1700 bytes 2009-09-10 23:52:25
File Makefile.benchmarks 2390 bytes 2009-09-10 23:52:25
File Makefile.com 3414 bytes 2009-09-10 23:52:25
File Makefile.com.Darwin 3635 bytes 2009-09-10 23:52:25
File OPENSOLARIS.LICENSE 18943 bytes 2009-09-10 23:52:28
File README 3030 bytes 2009-09-10 23:52:25
C file atomic.c 1804 bytes 2009-09-10 23:52:22
File bench.sh 29260 bytes 2009-09-10 23:52:28
C file benchmark_fini.c 1118 bytes 2009-09-10 23:52:22
C file benchmark_finibatch.c 1149 bytes 2009-09-10 23:52:22
C file benchmark_finirun.c 1123 bytes 2009-09-10 23:52:22
C file benchmark_finiworker.c 1151 bytes 2009-09-10 23:52:22
C file benchmark_init.c 1118 bytes 2009-09-10 23:52:22
C file benchmark_initbatch.c 1150 bytes 2009-09-10 23:52:22
C file benchmark_initrun.c 1123 bytes 2009-09-10 23:52:22
C file benchmark_initworker.c 1151 bytes 2009-09-10 23:52:22
C file benchmark_optswitch.c 1161 bytes 2009-09-10 23:52:22
C file benchmark_result.c 1160 bytes 2009-09-10 23:52:22
C file bind.c 3322 bytes 2009-09-10 23:52:22
C file cachetocache.c 4492 bytes 2009-09-10 23:52:22
C file cascade_cond.c 5998 bytes 2009-09-10 23:52:22
C file cascade_fcntl.c 4753 bytes 2009-09-10 23:52:22
C file cascade_flock.c 4774 bytes 2009-09-10 23:52:22
C file cascade_lockf.c 4676 bytes 2009-09-10 23:52:22
C file cascade_mutex.c 4838 bytes 2009-09-10 23:52:22
C file chdir.c 2501 bytes 2009-09-10 23:52:22
C file close.c 2488 bytes 2009-09-10 23:52:22
C file close_tcp.c 4641 bytes 2009-09-10 23:52:22
C file connection.c 5776 bytes 2009-09-10 23:52:22
File create_stuff.sh 101 bytes 2009-09-10 23:52:28
C file dup.c 2400 bytes 2009-09-10 23:52:22
C file elided.c 1395 bytes 2009-09-10 23:52:22
C file exec.c 1972 bytes 2009-09-10 23:52:22
C file exec_bin.c 1367 bytes 2009-09-10 23:52:22
C file exit.c 2630 bytes 2009-09-10 23:52:22
C file exp.c 1612 bytes 2009-09-10 23:52:22
C file fcntl.c 1862 bytes 2009-09-10 23:52:22
C file fcntl_ndelay.c 1996 bytes 2009-09-10 23:52:22
C file file_lock.c 1976 bytes 2009-09-10 23:52:22
C file fork.c 2304 bytes 2009-09-10 23:52:22
C file getcontext.c 1603 bytes 2009-09-10 23:52:22
C file getenv.c 2316 bytes 2009-09-10 23:52:22
C file getpeername.c 3215 bytes 2009-09-10 23:52:22
C file getpid.c 1310 bytes 2009-09-10 23:52:22
C file getrusage.c 1727 bytes 2009-09-10 23:52:22
C file getsockname.c 2556 bytes 2009-09-10 23:52:22
C file gettimeofday.c 1679 bytes 2009-09-10 23:52:22
C file isatty.c 2041 bytes 2009-09-10 23:52:22
C file libmicro.c 31441 bytes 2009-09-10 23:52:22
C file libmicro.h 6073 bytes 2009-09-10 23:52:22
C file libmicro_main.c 1151 bytes 2009-09-10 23:52:22
C file listen.c 2495 bytes 2009-09-10 23:52:22
C file localtime_r.c 1776 bytes 2009-09-10 23:52:22
C file log.c 1599 bytes 2009-09-10 23:52:22
C file longjmp.c 1371 bytes 2009-09-10 23:52:22
C file lrand48.c 1516 bytes 2009-09-10 23:52:22
C file lseek.c 2356 bytes 2009-09-10 23:52:22
C file malloc.c 2691 bytes 2009-09-10 23:52:22
C file memcpy.c 3043 bytes 2009-09-10 23:52:22
C file memmove.c 3046 bytes 2009-09-10 23:52:22
C file memrand.c 2614 bytes 2009-09-10 23:52:22
C file memset.c 3396 bytes 2009-09-10 23:52:22
File mk_tarball 532 bytes 2009-09-10 23:52:28
C file mktime.c 2100 bytes 2009-09-10 23:52:22
C file mmap.c 3742 bytes 2009-09-10 23:52:22
C file mprotect.c 3936 bytes 2009-09-10 23:52:22
C file msync.c 3650 bytes 2009-09-10 23:52:22
File multiview.sh 5274 bytes 2009-09-10 23:52:28
C file munmap.c 3683 bytes 2009-09-10 23:52:22
C file mutex.c 3303 bytes 2009-09-10 23:52:22
C file nop.c 1364 bytes 2009-09-10 23:52:22
C file open.c 2372 bytes 2009-09-10 23:52:22
C file pipe.c 9935 bytes 2009-09-10 23:52:22
C file poll.c 4248 bytes 2009-09-10 23:52:22
C file pread.c 2576 bytes 2009-09-10 23:52:22
C file pthread_create.c 3055 bytes 2009-09-10 23:52:22
C file pwrite.c 2651 bytes 2009-09-10 23:52:22
C file read.c 2596 bytes 2009-09-10 23:52:22
C file realpath.c 1677 bytes 2009-09-10 23:52:22
C file recurse.c 1816 bytes 2009-09-10 23:52:22
C file recurse2.c 1135 bytes 2009-09-10 23:52:22
C file select.c 4277 bytes 2009-09-10 23:52:22
C file semop.c 1984 bytes 2009-09-10 23:52:22
C file setcontext.c 1379 bytes 2009-09-10 23:52:23
C file setsockopt.c 1954 bytes 2009-09-10 23:52:23
C file sigaction.c 1782 bytes 2009-09-10 23:52:23
C file siglongjmp.c 1449 bytes 2009-09-10 23:52:23
C file signal.c 1903 bytes 2009-09-10 23:52:23
C file sigprocmask.c 2017 bytes 2009-09-10 23:52:23
C file socket.c 2702 bytes 2009-09-10 23:52:23
C file socketpair.c 2131 bytes 2009-09-10 23:52:23
C file stat.c 1720 bytes 2009-09-10 23:52:23
C file strcasecmp.c 2918 bytes 2009-09-10 23:52:23
C file strchr.c 2833 bytes 2009-09-10 23:52:23
C file strcmp.c 2873 bytes 2009-09-10 23:52:23
C file strcpy.c 2777 bytes 2009-09-10 23:52:23
C file strftime.c 2635 bytes 2009-09-10 23:52:23
C file strlen.c 2790 bytes 2009-09-10 23:52:23
C file strtol.c 1656 bytes 2009-09-10 23:52:23
C file system.c 1803 bytes 2009-09-10 23:52:23
C file tattle.c 2870 bytes 2009-09-10 23:52:23
C file time.c 1492 bytes 2009-09-10 23:52:23
C file times.c 1566 bytes 2009-09-10 23:52:23
File wrapper.sh 1022 bytes 2009-09-10 23:52:28
C file write.c 2768 bytes 2009-09-10 23:52:23
C file writev.c 2905 bytes 2009-09-10 23:52:23

    1 #
    2 # CDDL HEADER START
    3 #
    4 # The contents of this file are subject to the terms
    5 # of the Common Development and Distribution License
    6 # (the "License").  You may not use this file except
    7 # in compliance with the License.
    8 #
    9 # You can obtain a copy of the license at
   10 # src/OPENSOLARIS.LICENSE
   11 # or http://www.opensolaris.org/os/licensing.
   12 # See the License for the specific language governing
   13 # permissions and limitations under the License.
   14 #
   15 # When distributing Covered Code, include this CDDL
   16 # HEADER in each file and include the License file at
   17 # usr/src/OPENSOLARIS.LICENSE.  If applicable,
   18 # add the following below this CDDL HEADER, with the
   19 # fields enclosed by brackets "[]" replaced with your
   20 # own identifying information: Portions Copyright [yyyy]
   21 # [name of copyright owner]
   22 #
   23 # CDDL HEADER END
   24 #
   25 
   26 #
   27 # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
   28 # Use is subject to license terms.
   29 #
   30 
   31 Building the tarball
   32 --------------------
   33 As long as cc is in your path, (gcc on Linux),
   34 
   35 % tar xf libMicro.tar
   36 % make
   37 
   38 will build the benchmark suite.
   39 
   40 Running the benchmarks
   41 -----------------------
   42 
   43 A set of generic scripts to invoke each micro benchmark
   44 are created in the bin directory; these may be invoked
   45 directly.  Note that the actual binaries are created in
   46 OS-specific directories; this allows one to build for
   47 all varients (x86/sparc/Solaris/Linux) in one place.
   48 
   49 To collect a complete set of benchmarks, use the bench
   50 script and redirect its output to a file.
   51 
   52 % ./bench > output
   53 
   54 To compare the output of two or more runs, use multiview in the src
   55 directory:
   56 
   57 % ./multiview reference compare1 compare2 compare2 > compare.html
   58 %
   59 
   60 where the reference and compare files contain the output of different
   61 libmicro runs.
   62 
   63 The compare.html file will allow quick comparisons to be drawn,
   64 allowing a variety of experiments to be quickly analyzed.
   65 
   66 All benchmarks support the following options:
   67 
   68        [-1] (single process; overrides -P > 1)
   69        [-A] (align with clock)
   70        [-B batch-size (default 10)]
   71        [-C minimum number of samples (default 0)]
   72        [-D duration in msecs (default 10s)]
   73        [-E (echo name to stderr)]
   74        [-H] (suppress headers)
   75        [-I] specify approx. time per op in nsecs
   76        [-L] (print argument line)
   77        [-M] (reports mean rather than median)
   78        [-N test-name ]
   79        [-P processes (default 1)]
   80        [-S] (print detailed stats)
   81        [-T threads (default 1)]
   82        [-V] (print the libMicro version and exit)
   83        [-W] (flag possible benchmark problems)
   84 
   85 
   86 Apple-added Benchmarks
   87 -----------------------
   88 
   89         create_file
   90         geekbench_stdlib_write
   91         getppid
   92         lb_mmtest
   93         lm_null_call
   94         lmbench_bw_file_rd
   95         lmbench_bw_mem
   96         lmbench_bw_mmap_rd
   97         lmbench_bw_unix
   98         lmbench_fstat
   99         lmbench_lat_ctx
  100         lmbench_lat_sig_catch
  101         lmbench_lat_sig_install
  102         lmbench_lat_sig_prot
  103         lmbench_lat_sig_send
  104         lmbench_openclose
  105         lmbench_read
  106         lmbench_select_file
  107         lmbench_select_tcp
  108         lmbench_stat
  109         lmbench_write
  110         trivial
  111         vm_allocate
  112 
  113 Also, please read AppleReadMe for further information.
  114 

[ source navigation ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.