commit | 6e8ad824e5af548623e0efd6930de4e04167b5ac | [log] [tgz] |
---|---|---|
author | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Mon Mar 17 15:25:31 2008 +0000 |
committer | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Mon Mar 17 15:25:31 2008 +0000 |
tree | 87c6d75b8f92b3fa543f0b2bbc47000ec9ae5c88 | |
parent | f695be6d515c9a232af0fa6b2d4f8162c7a3d03c [diff] |
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