help-octave
[Top][All Lists]
Advanced

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

Re: Read the number of cpus on Linux


From: Jordi Gutiérrez Hermoso
Subject: Re: Read the number of cpus on Linux
Date: Tue, 20 Jul 2010 14:53:26 -0500

2010/7/20 Francesco Potortì <address@hidden>:

>>If you have GNU coreutils 8.1 or later, you can do
>>     [err,numprocs] = system("nproc")
>
> Isn't this less efficient, systemwise?

Are you planning to check millions of times in a for loop if the
number of cores in your system has changed?



reply via email to

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