Add a helper for querying the number of cores
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 7 Mar 2016 19:04:04 +0000 (14:04 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 7 Mar 2016 19:38:17 +0000 (14:38 -0500)
commitaeafa7cb27c956ee8a8da3773c774cd7d818ad1e
treec115b3d45ad64248618b0f56ff5e4b04007a73a8
parentb4e93fdd9dab61f2eeb10d70822d9657cac0f669
Add a helper for querying the number of cores

The info is exposed via #vars.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/parlib/include/parlib/sysinfo.h [new file with mode: 0644]
user/parlib/sysinfo.c [new file with mode: 0644]