summaryrefslogtreecommitdiffstats
path: root/libdimension/platform.c
Commit message (Collapse)AuthorAgeFilesLines
* Move platform-specific stuff in libdimension into platform.c.Tavian Barnes2010-06-291-2/+31
|
* Use sched_getaffinity() rather than sysconf(_SC_NPROCESSORS_ONLN).Tavian Barnes2010-06-281-0/+35
Also, abstract cpu counting into dedicated dmnsn_ncpus() function.