diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-11-15 14:30:26 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-11-15 14:30:26 +0000 |
commit | 0d373afc17a0288342f592741d0221fef273e07f (patch) | |
tree | 45c0db39c1e03fe28749abd2812f2ffdabc39c81 /morphlib/util.py | |
parent | b4078d8bb5babfe0166cb2a1336f9eb5237f5375 (diff) | |
download | morph-0d373afc17a0288342f592741d0221fef273e07f.tar.gz |
Fix reference to cpu_count in actual code
Diffstat (limited to 'morphlib/util.py')
-rw-r--r-- | morphlib/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/util.py b/morphlib/util.py index 3ac5e066..fd5c085a 100644 --- a/morphlib/util.py +++ b/morphlib/util.py @@ -57,7 +57,7 @@ def make_concurrency(cores=None): ''' - n = multiprocessing.cpu_count() if cores is None else cores + n = cpu_count() if cores is None else cores # Experimental results (ref. Kinnison) says a factor of 1.5 # gives about the optimal result for build times, since much of # builds are I/O bound, not CPU bound. |