summaryrefslogtreecommitdiffstats
path: root/runtime/bench2/itest.c
Commit message (Collapse)AuthorAgeFilesLines
* 2007-03-14 Martin Hunt <hunt@redhat.com>hunt2007-03-141-10/+111
| | | | | | | | | | | | | | | | | | | | * bench2/bench.rb: Updated to work with new transport and new itest.c. * bench2/Makefile: Updated for new itest.c * bench2/itest.c: Rewritten to use multiple threads and automatically divide the workload among the threads. * print.c (_stp_print_flush): Move to print_new.c and print_old.c. * print_new.c: New file containing _stp_print_flush() for the new transport. * print_old.c: Ditto for old transport. * runtime.h (STP_OLD_TRANSPORT): Define (errk): Define. (MAXSTRINGLEN): Define if not already defined. * io.c (_stp_vlog): Use _stp_ctl_write().
* 2006-03-26 Martin Hunt <hunt@redhat.com>hunt2006-03-261-5/+4
| | | | | | | | | | | | | | | * 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.
* 2006-03-09 Martin Hunt <hunt@redhat.com>hunt2006-03-091-0/+59
* bench2: New directory containing a benchmark framework.