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
|
Name | Size | Last modified (GMT) | Description | |
Parent directory | 2011-08-10 02:15:41 | |||
apple/ | 2011-10-11 22:52:57 | |||
AppleReadMe | 7459 bytes | 2010-08-03 00:25:54 | ||
Makefile | 2986 bytes | 2010-03-29 02:55:25 | ||
Makefile.Aix | 1011 bytes | 2008-07-22 23:39:39 | ||
Makefile.Darwin | 2151 bytes | 2010-08-03 00:25:54 | ||
Makefile.Linux | 1065 bytes | 2008-07-22 23:39:39 | ||
Makefile.SunOS | 1700 bytes | 2008-07-22 23:39:39 | ||
Makefile.benchmarks | 2390 bytes | 2008-08-28 23:08:36 | ||
Makefile.com | 3414 bytes | 2008-08-22 01:34:21 | ||
Makefile.com.Darwin | 3635 bytes | 2008-08-22 01:34:21 | ||
OPENSOLARIS.LICENSE | 18943 bytes | 2008-07-22 23:39:39 | ||
README | 3205 bytes | 2010-03-29 02:55:25 | ||
atomic.c | 1804 bytes | 2008-07-22 23:39:39 | ||
bench.sh | 30636 bytes | 2011-05-28 21:24:40 | ||
benchDS.sh | 11600 bytes | 2011-02-16 17:27:08 | ||
benchmark_fini.c | 1118 bytes | 2008-07-22 23:39:39 | ||
benchmark_finibatch.c | 1149 bytes | 2008-07-22 23:39:39 | ||
benchmark_finirun.c | 1123 bytes | 2008-07-22 23:39:39 | ||
benchmark_finiworker.c | 1151 bytes | 2008-07-22 23:39:39 | ||
benchmark_init.c | 1118 bytes | 2008-07-22 23:39:39 | ||
benchmark_initbatch.c | 1150 bytes | 2008-07-22 23:39:39 | ||
benchmark_initrun.c | 1123 bytes | 2008-07-22 23:39:39 | ||
benchmark_initworker.c | 1151 bytes | 2008-07-22 23:39:39 | ||
benchmark_optswitch.c | 1161 bytes | 2008-07-22 23:39:39 | ||
benchmark_result.c | 1160 bytes | 2008-07-22 23:39:39 | ||
bind.c | 3322 bytes | 2008-07-22 23:39:39 | ||
cachetocache.c | 4492 bytes | 2008-07-22 23:39:39 | ||
cascade_cond.c | 5998 bytes | 2009-01-03 19:52:46 | ||
cascade_fcntl.c | 4753 bytes | 2009-01-03 19:52:46 | ||
cascade_flock.c | 4774 bytes | 2009-01-03 19:52:46 | ||
cascade_lockf.c | 4676 bytes | 2009-01-03 19:52:46 | ||
cascade_mutex.c | 4838 bytes | 2009-01-03 19:52:46 | ||
chdir.c | 2501 bytes | 2008-07-22 23:39:39 | ||
close.c | 2488 bytes | 2008-07-22 23:39:39 | ||
close_tcp.c | 4641 bytes | 2008-07-22 23:39:39 | ||
connection.c | 5776 bytes | 2008-07-22 23:39:39 | ||
coreos_bench.sh | 31630 bytes | 2010-04-06 03:42:06 | ||
create_stuff.sh | 101 bytes | 2008-07-22 23:39:39 | ||
dup.c | 2400 bytes | 2008-07-22 23:39:39 | ||
elided.c | 1395 bytes | 2008-07-22 23:39:39 | ||
exec.c | 1972 bytes | 2008-07-22 23:39:39 | ||
exec_bin.c | 1367 bytes | 2008-07-22 23:39:39 | ||
exit.c | 2630 bytes | 2008-07-22 23:39:39 | ||
exp.c | 2241 bytes | 2010-02-22 19:50:29 | ||
fcntl.c | 1862 bytes | 2008-07-22 23:39:39 | ||
fcntl_ndelay.c | 1996 bytes | 2008-07-22 23:39:39 | ||
file_lock.c | 1976 bytes | 2009-01-03 19:52:46 | ||
fork.c | 2304 bytes | 2008-07-22 23:39:39 | ||
getcontext.c | 1603 bytes | 2008-07-22 23:39:39 | ||
getenv.c | 2316 bytes | 2008-07-22 23:39:39 | ||
getpeername.c | 3215 bytes | 2008-07-22 23:39:39 | ||
getpid.c | 1310 bytes | 2008-07-22 23:39:39 | ||
getrusage.c | 1727 bytes | 2008-07-22 23:39:39 | ||
getsockname.c | 2556 bytes | 2008-07-22 23:39:39 | ||
gettimeofday.c | 1679 bytes | 2008-07-22 23:39:39 | ||
isatty.c | 2041 bytes | 2008-07-22 23:39:39 | ||
libmicro.c | 31441 bytes | 2009-01-03 19:52:46 | ||
libmicro.h | 6112 bytes | 2010-02-22 19:50:29 | ||
libmicro_main.c | 1151 bytes | 2008-07-22 23:39:39 | ||
listen.c | 2495 bytes | 2008-07-22 23:39:39 | ||
localtime_r.c | 1776 bytes | 2008-07-22 23:39:39 | ||
log.c | 2228 bytes | 2010-02-22 19:50:29 | ||
longjmp.c | 1499 bytes | 2010-05-12 19:48:56 | ||
lrand48.c | 1516 bytes | 2008-07-22 23:39:39 | ||
lseek.c | 2356 bytes | 2008-07-22 23:39:39 | ||
malloc.c | 2691 bytes | 2008-07-22 23:39:39 | ||
memcpy.c | 3043 bytes | 2008-07-22 23:39:39 | ||
memmove.c | 3046 bytes | 2008-07-22 23:39:39 | ||
memrand.c | 2614 bytes | 2009-01-03 19:52:46 | ||
memset.c | 3396 bytes | 2008-07-22 23:39:39 | ||
mk_tarball | 532 bytes | 2009-01-03 19:52:46 | ||
mktime.c | 2100 bytes | 2009-01-03 19:52:46 | ||
mmap.c | 3742 bytes | 2008-07-22 23:39:39 | ||
mprotect.c | 3936 bytes | 2009-01-03 19:52:46 | ||
msync.c | 3650 bytes | 2008-07-22 23:39:39 | ||
multiview.sh | 5274 bytes | 2008-09-09 22:14:30 | ||
munmap.c | 3683 bytes | 2008-07-22 23:39:39 | ||
mutex.c | 3303 bytes | 2008-07-22 23:39:39 | ||
nop.c | 1364 bytes | 2008-07-22 23:39:39 | ||
od_account_create.sh | 3314 bytes | 2011-02-16 17:27:08 | ||
od_account_delete.sh | 2231 bytes | 2011-02-16 17:27:08 | ||
open.c | 2372 bytes | 2008-07-22 23:39:39 | ||
pipe.c | 9935 bytes | 2009-01-03 19:52:46 | ||
poll.c | 4248 bytes | 2008-07-22 23:39:39 | ||
pread.c | 2576 bytes | 2008-07-22 23:39:39 | ||
pthread_create.c | 3055 bytes | 2008-07-22 23:39:39 | ||
pwrite.c | 2651 bytes | 2008-07-22 23:39:39 | ||
read.c | 2596 bytes | 2008-07-22 23:39:39 | ||
realpath.c | 1677 bytes | 2008-07-22 23:39:39 | ||
recurse.c | 1816 bytes | 2008-07-22 23:39:39 | ||
recurse2.c | 1135 bytes | 2008-07-22 23:39:39 | ||
select.c | 4277 bytes | 2008-07-22 23:39:39 | ||
semop.c | 1984 bytes | 2008-07-22 23:39:39 | ||
setcontext.c | 1379 bytes | 2008-07-22 23:39:39 | ||
setsockopt.c | 1954 bytes | 2008-07-22 23:39:39 | ||
sigaction.c | 1782 bytes | 2008-07-22 23:39:39 | ||
siglongjmp.c | 1576 bytes | 2010-05-12 19:48:56 | ||
signal.c | 1903 bytes | 2009-01-03 19:52:46 | ||
sigprocmask.c | 2017 bytes | 2009-01-03 19:52:46 | ||
socket.c | 2702 bytes | 2008-07-22 23:39:39 | ||
socketpair.c | 2131 bytes | 2009-01-03 19:52:46 | ||
stat.c | 1720 bytes | 2008-07-22 23:39:39 | ||
strcasecmp.c | 2918 bytes | 2009-01-03 19:52:46 | ||
strchr.c | 2833 bytes | 2009-01-03 19:52:46 | ||
strcmp.c | 2873 bytes | 2009-01-03 19:52:46 | ||
strcpy.c | 2777 bytes | 2009-01-03 19:52:46 | ||
strftime.c | 2635 bytes | 2009-01-03 19:52:46 | ||
strlen.c | 2790 bytes | 2009-01-03 19:52:46 | ||
strtol.c | 1656 bytes | 2008-07-22 23:39:39 | ||
system.c | 1803 bytes | 2008-07-22 23:39:39 | ||
tattle.c | 2870 bytes | 2008-07-22 23:39:39 | ||
time.c | 1492 bytes | 2009-01-03 19:52:46 | ||
times.c | 1566 bytes | 2009-01-03 19:52:46 | ||
wrapper.sh | 1022 bytes | 2008-07-22 23:39:39 | ||
write.c | 2768 bytes | 2008-07-22 23:39:39 | ||
writev.c | 2905 bytes | 2008-07-22 23:39:39 |
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 getaddrinfo_port 92 getaddrinfo_host 93 getgrgid 94 getgrent 95 getgrnam 96 getppid 97 getpwnam 98 getpwuid 99 getpwent 100 lb_mmtest 101 lm_null_call 102 lmbench_bw_file_rd 103 lmbench_bw_mem 104 lmbench_bw_mmap_rd 105 lmbench_bw_unix 106 lmbench_fstat 107 lmbench_lat_ctx 108 lmbench_lat_sig_catch 109 lmbench_lat_sig_install 110 lmbench_lat_sig_prot 111 lmbench_lat_sig_send 112 lmbench_openclose 113 lmbench_read 114 lmbench_select_file 115 lmbench_select_tcp 116 lmbench_stat 117 lmbench_write 118 mbr_check_service_membership 119 mbr_check_membership 120 od_query_create_with_node 121 trivial 122 vm_allocate 123 124 Also, please read AppleReadMe for further information. 125
[ 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.