src/runtime/bench2 bench.rb itest.c
hunt@sourceware.org
hunt@sourceware.org
Sun Mar 26 22:47:00 GMT 2006
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
More information about the Systemtap-cvs
mailing list