diff options
author | hunt <hunt> | 2006-03-15 09:40:44 +0000 |
---|---|---|
committer | hunt <hunt> | 2006-03-15 09:40:44 +0000 |
commit | 14cbcf6ac46e0579228bcc2246382d76a6b9220c (patch) | |
tree | f1283ead0f9aa46f22599322db5181d953aa5a6a /runtime/bench2/run_bench | |
parent | f425170459496ec7267751106bc0d0b0f28fc45a (diff) | |
download | systemtap-steved-14cbcf6ac46e0579228bcc2246382d76a6b9220c.tar.gz systemtap-steved-14cbcf6ac46e0579228bcc2246382d76a6b9220c.tar.xz systemtap-steved-14cbcf6ac46e0579228bcc2246382d76a6b9220c.zip |
Added multiple threads and better cpuspeed handling.
Diffstat (limited to 'runtime/bench2/run_bench')
-rwxr-xr-x | runtime/bench2/run_bench | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/runtime/bench2/run_bench b/runtime/bench2/run_bench index 1f868ced..dad8c8ae 100755 --- a/runtime/bench2/run_bench +++ b/runtime/bench2/run_bench @@ -13,18 +13,23 @@ test0.code = "" test0.run test0.print +# script test to print 100 chars +test2a = Stapbench.new("printf 100 chars") +test2a.code = "printf(\"123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\\n\")" +test2a.run +test2a.print + +test2a.trans = RELAYFS +test2a.run +test2a.print + # runtime test to print 100 chars test2 = Bench.new("printf 100 chars") -test2.code = "_stp_printf (\"123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\\n\"); +test2.code = "(void)_stp_printf (\"123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\\n\"); _stp_print_flush();" test2.run test2.print -# script test to print 100 chars -test2a = Stapbench.new("printf 100 chars") -test2a.code = "printf(\"123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\\n\")" -test2a.run -test2a.print # runtime test to print 5 integers test3 = Bench.new("printf 5 integers") |