OpenGrok

Cross Reference: libmicro
xref: /libmicro/libmicro
Home | History | Annotate | only in /libmicro/libmicro
Up to higher level directory
NameDateSize
.hgignore29-Oct-201044
atomic.c29-Oct-20101.8K
bench.sh29-Oct-201016.3K
benchmark_fini.c29-Oct-20101.1K
benchmark_finibatch.c29-Oct-20101.1K
benchmark_finirun.c29-Oct-20101.1K
benchmark_finiworker.c29-Oct-20101.1K
benchmark_init.c29-Oct-20101.1K
benchmark_initbatch.c29-Oct-20101.1K
benchmark_initrun.c29-Oct-20101.1K
benchmark_initworker.c29-Oct-20101.1K
benchmark_optswitch.c29-Oct-20101.1K
benchmark_result.c29-Oct-20101.1K
bind.c29-Oct-20103.2K
BUGS29-Oct-2010939
cachetocache.c29-Oct-20104.4K
cascade_cond.c29-Oct-20105.8K
cascade_fcntl.c29-Oct-20104.5K
cascade_flock.c29-Oct-20104.6K
cascade_lockf.c29-Oct-20104.5K
cascade_mutex.c29-Oct-20104.6K
chdir.c29-Oct-20102.4K
close.c29-Oct-20102.4K
close_tcp.c29-Oct-20104.5K
connection.c29-Oct-20105.6K
dup.c29-Oct-20102.3K
elided.c29-Oct-20101.4K
exec.c29-Oct-20101.9K
exec_bin.c29-Oct-20101.3K
exit.c29-Oct-20102.6K
exp.c29-Oct-20101.6K
fcntl.c29-Oct-20101.8K
fcntl_ndelay.c29-Oct-20101.9K
file_lock.c29-Oct-20101.9K
fork.c29-Oct-20102.2K
getcontext.c29-Oct-20101.6K
getenv.c29-Oct-20102.3K
getpeername.c29-Oct-20103.1K
getpid.c29-Oct-20101.3K
getrusage.c29-Oct-20101.7K
getsockname.c29-Oct-20102.5K
gettimeofday.c29-Oct-20101.6K
isatty.c29-Oct-20102K
libmicro.c11-May-201129.5K
libmicro.h29-Oct-20104.4K
libmicro_main.c29-Oct-20101.1K
listen.c29-Oct-20102.4K
localtime_r.c29-Oct-20101.7K
log.c29-Oct-20101.6K
longjmp.c28-Oct-20111.3K
lrand48.c29-Oct-20101.5K
lseek.c29-Oct-20102.3K
Makefile29-Oct-20102.1K
Makefile.Aix29-Oct-20101,011
Makefile.benchmarks29-Oct-20101.9K
Makefile.com29-Oct-20103.3K
Makefile.Linux29-Oct-20101K
Makefile.SunOS29-Oct-20101.7K
malloc.c29-Oct-20102.6K
memcpy.c29-Oct-20103K
memmove.c29-Oct-20103K
memrand.c29-Oct-20102.6K
memset.c29-Oct-20103.3K
mk_tarball29-Oct-2010524
mktime.c29-Oct-20102.1K
mmap.c29-Oct-20103.7K
mprotect.c29-Oct-20103.8K
msync.c29-Oct-20103.6K
multiview.sh29-Oct-20105.2K
munmap.c29-Oct-20103.6K
mutex.c29-Oct-20103.2K
nop.c29-Oct-20101.3K
open.c29-Oct-20102.3K
OPENSOLARIS.LICENSE29-Oct-201018.5K
pipe.c29-Oct-20109.7K
poll.c29-Oct-20104.1K
pread.c29-Oct-20102.5K
pthread_create.c29-Oct-20103K
pwrite.c29-Oct-20102.6K
read.c29-Oct-20102.5K
README29-Oct-20102.5K
realpath.c29-Oct-20101.6K
recurse.c29-Oct-20101.8K
recurse2.c29-Oct-20101.1K
select.c29-Oct-20104.2K
semop.c29-Oct-20101.9K
setcontext.c29-Oct-20101.3K
setsockopt.c29-Oct-20101.9K
sigaction.c29-Oct-20101.7K
siglongjmp.c28-Oct-20111.4K
signal.c29-Oct-20101.9K
sigprocmask.c29-Oct-20102K
socket.c29-Oct-20102.6K
socketpair.c29-Oct-20102.1K
stat.c29-Oct-20101.7K
strcasecmp.c29-Oct-20102.9K
strchr.c29-Oct-20102.8K
strcmp.c29-Oct-20102.8K
strcpy.c29-Oct-20102.7K
strftime.c29-Oct-20102.6K
strlen.c29-Oct-20102.7K
strtol.c29-Oct-20101.6K
system.c29-Oct-20101.8K
tattle.c29-Oct-20102.8K
time.c29-Oct-20101.5K
times.c29-Oct-20101.5K
wrapper.sh29-Oct-20101,022
write.c29-Oct-20102.7K
writev.c29-Oct-20102.8K

README

      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