Use core affinity on windows to improve performance
This commit is contained in:
committed by
Laurent Clouet
parent
32540e7712
commit
be3a30facc
@@ -221,6 +221,7 @@ public class Job {
|
||||
Map<String, String> new_env = new HashMap<String, String>();
|
||||
|
||||
new_env.put("BLENDER_USER_CONFIG", config.workingDirectory.getAbsolutePath().replace("\\", "\\\\"));
|
||||
new_env.put("CORES", Integer.toString(config.getNbCores()));
|
||||
|
||||
for (String arg : command1) {
|
||||
switch (arg) {
|
||||
|
||||
Reference in New Issue
Block a user