On Fri, 2008-08-22 at 13:46 +1000, Bob Hepple wrote: > I noticed that hackbench returns a random status in $? ... it's because > there's a couple of lines missing from the original. > > In ./testcases/kernel/sched/cfs-scheduler/hackbench.c, the last lines > are: > > > /* Reap them all */ > for (i = 0; i < total_children; i++) > reap_worker(pth_tab[i]); > > gettimeofday(&stop, NULL); > > /* Print time... */ > timersub(&stop, &start, &diff); > } > > The original (from > http://people.redhat.com/mingo/cfs-scheduler/tools/hackbench.c) has this: > > /* Reap them all */ > for (i = 0; i < total_children; i++) > reap_worker(pth_tab[i]); > > gettimeofday(&stop, NULL); > > /* Print time... */ > timersub(&stop, &start, &diff); > printf("Time: %lu.%03lu\n", diff.tv_sec, diff.tv_usec/1000); > exit(0);
Are you sure about this. As far as i know, the August Intermediate release has this changes effected. Please check out the latest hackbecnh code in LTP: http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kernel/sched/cfs-scheduler/hackbench.c If still this is not existing , then send across a patch. Regards-- Subrata > } > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
