Better cpu counter on Linux.
Merge pull request #172 from johnae/master

Better cpu counter on Linux