diff options
author | hunt <hunt> | 2007-03-14 16:13:33 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-03-14 16:13:33 +0000 |
commit | 8c235ce57600584d3126ad86520b4fb44765c8ec (patch) | |
tree | 4a7ee542bda895a54edbb5863d68bce19d4f135f /runtime/bench2/run_binary_print | |
parent | fbbb89fffb3533a3b4fb63c15eaeaae6956391eb (diff) | |
download | systemtap-steved-8c235ce57600584d3126ad86520b4fb44765c8ec.tar.gz systemtap-steved-8c235ce57600584d3126ad86520b4fb44765c8ec.tar.xz systemtap-steved-8c235ce57600584d3126ad86520b4fb44765c8ec.zip |
2007-03-14 Martin Hunt <hunt@redhat.com>
* 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().
Diffstat (limited to 'runtime/bench2/run_binary_print')
-rwxr-xr-x | runtime/bench2/run_binary_print | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/runtime/bench2/run_binary_print b/runtime/bench2/run_binary_print index bbd83180..c42bba98 100755 --- a/runtime/bench2/run_binary_print +++ b/runtime/bench2/run_binary_print @@ -1,31 +1,12 @@ #!/usr/bin/env ruby load './bench.rb' -# script test with empty probe -test0 = Stapbench.new("empty probe") -test0.code = "" -test0.run -test0.print - -# script test to binary print 4 integers -test1 = Stapbench.new("binary printf 4 integers (%8b)") -test1.code = "printf(\"%8b%8b%8b%8b\", 111,22,333,444)" -test1.run -test1.print - -# script test to binary print 4 integers -test2 = Stapbench.new("binary printf 4 integers (%4b)") -test2.code = "printf(\"%4b%4b%4b%4b\", 111,22,333,444)" -test2.run -test2.print - - # script test to binary print 4 integers test3 = Stapbench.new("binary printf 4 integers (%b)") test3.code = "printf(\"%b%b%b%b\", 111,22,333,444)" test3.run test3.print -test3.trans = RELAYFS +test3.trans = BULK test3.run test3.print @@ -34,7 +15,7 @@ test4 = Stapbench.new("_stp_print_binary 4 integers") test4.code = "stp_print_binary(4,111,22,333,444)" test4.run test4.print -test4.trans = RELAYFS +test4.trans = BULK test4.run test4.print |