grosser/parallel — pull request #67 by dbenhur (2013-08-11 22:54:54+00:00)
Title: Correct linux physical processor count

I noticed the physical processor count calculation was incorrect for muti-processor multi-core linux systems (it was returning only the number of cores of a single physical processor). When running as a VMWare guest, the cpuinfo keys to let us calc physical cores are not exposed.

Also the spec test assumed there would never be more then two logical cores per physical core, which is incorrect as sun has processors that have [four](http://en.wikipedia.org/wiki/UltraSPARC_T1) and [eight](http://en.wikipedia.org/wiki/UltraSPARC_T2) logicals per core with their Niagra chips.

I have verified correctness on single-socket i7, i5, quad-socket E5-4610, and dual-socket X5660 as well as lucid and precise vmware guests