]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: src/feature.c: print a number of online CPUs
authorStanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Tue, 29 Oct 2013 10:03:59 +0000 (10:03 +0000)
committerRich Johnston <rjohnston@sgi.com>
Sat, 9 Nov 2013 19:12:46 +0000 (13:12 -0600)
commit2dcf4a56d118a8198424a1c30163f04fc04ddf32
tree7ec9dccfeeb52f8ef667f1f1f75cebfe96b993ae
parenta16f0cfe3ad2f02109f31333703ca6f78ed6127d
xfstests: src/feature.c: print a number of online CPUs

For this purpose we use sysconf() as it is the
preferred platform neutral interface for getting this
sort of information.

Based on Dave Chinner proposal.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
src/feature.c