This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
src/runtime/bench2 bench.rb itest.c
- From: hunt at sourceware dot org
- To: systemtap-cvs at sources dot redhat dot com
- Date: 26 Mar 2006 22:47:10 -0000
- Subject: src/runtime/bench2 bench.rb itest.c
CVSROOT: /cvs/systemtap
Module name: src
Changes by: hunt@sourceware.org 2006-03-26 22:47:10
Modified files:
runtime/bench2 : bench.rb itest.c
Log message:
2006-03-26 Martin Hunt <hunt@redhat.com>
* bench2/bench.rb (Bench::run): Instead of loading the module
once and running against different numbers of threads, load
and unload the module each time. Then keep track of failures
per thread. Also use the new itest to keep the tests the same
size regardless of the number of threads.
(Bench::initialize): Make itest if needed.
(Bench::load, Stapbench::load): Increase buffer size to 8MB.
* bench2/itest.c: Change arg to be the number of threads
instead of the number of millions of calls to make.
This makes it easy to divide the work among multiple threads
without making the test run many times longer.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/bench2/bench.rb.diff?cvsroot=systemtap&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/bench2/itest.c.diff?cvsroot=systemtap&r1=1.1&r2=1.2