public inbox for systemtap-cvs@sourceware.org
help / color / mirror / Atom feed
* src/runtime/bench2 bench.rb itest.c
@ 2006-03-26 22:47 hunt
0 siblings, 0 replies; only message in thread
From: hunt @ 2006-03-26 22:47 UTC (permalink / raw)
To: systemtap-cvs
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-03-26 22:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-26 22:47 src/runtime/bench2 bench.rb itest.c hunt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).