From fa60355b7aacd1f4b10f1497792787288c0632ff Mon Sep 17 00:00:00 2001 From: hunt Date: Wed, 13 Jul 2005 06:34:00 +0000 Subject: 2005-07-12 Martin Hunt * bench/run_bench (do_time): Use ttest instead of "time". Fix processor computation. * bench/ttest.c: Like "time.c" except takes an argument to adjust loop size. Also computes system time + user time instead of real time. Added a warmup loop to get consistent results from cpus which adjust speed based on load. * bench/time.c: Replaced by ttest.c --- runtime/probes/bench/stp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/probes/bench/stp') diff --git a/runtime/probes/bench/stp b/runtime/probes/bench/stp index 00236805..c350f4e6 100755 --- a/runtime/probes/bench/stp +++ b/runtime/probes/bench/stp @@ -43,4 +43,4 @@ fi #../../stpd/stpd $modulename # no screen, log to files (file logging only if #define STP_NETLINK_ONLY commented out in module) -../../stpd/stpd -q $modulename +../../stpd/stpd -mq $modulename -- cgit