help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting Number of CPU(-core)s and giving it as the --jobs argument t


From: Peter Dyballa
Subject: Re: Getting Number of CPU(-core)s and giving it as the --jobs argument to GNU Make
Date: Wed, 12 Sep 2007 11:38:03 +0200


Am 12.09.2007 um 10:20 schrieb Nordlöw:

In C on Linux and Mac OS X the following detects number of CPUs:

Wouldn't

        sysctl -n hw.logicalcpu_max

in Mac OS X or Darwin be a bit simpler? (There are also  hw.activecpu, hw.physicalcpu, hw.physicalcpu_max, and hw.logicalcpu.)


--
Greetings

  Pete

A child of five could understand this!  Fetch me a child of five.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]