In kernbench and tbench, replace count_cpus() by job.cpu_count(), 
to scale the test's default # of threads to the number of cpu cores in that job's
container, instead of to all cores in the whole machine. 

From: Duane Sand <duanes@google.com>
Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1350 592f7852-d20e-0410-864c-8624ca9c26a4
2 files changed