commit | 3b535a875c5c3d392dc4ffe80df77020f7774526 | [log] [tgz] |
---|---|---|
author | Wanlong Gao <gaowanlong@cn.fujitsu.com> | Thu Oct 18 16:35:14 2012 +0800 |
committer | Mike Frysinger <vapier@gentoo.org> | Thu Oct 18 21:03:41 2012 -0400 |
tree | d179a7a44f6c1784b36d7e5a73053035c88ebd2f | |
parent | 0436176dbfe6fdaaf97590d2356eb23d2739b2c2 [diff] |
tools: add tst_ncpus/_max api to get number of CPUS Add tst_ncpus and tst_ncpus_max api to get the number of CPUS online and configured. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Caspar Zhang <caspar@casparzhang.com>