Changeset 69 for trunk/CrossPare/src/de/ugoe/cs/cpdp/Runner.java
- Timestamp:
- 05/03/16 15:17:36 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/Runner.java
r41 r69 45 45 public static void main(String[] args) { 46 46 new TextConsole(Level.FINE); 47 final int concurrentThreads = Runtime.getRuntime().availableProcessors() - 2;47 final int concurrentThreads = Runtime.getRuntime().availableProcessors(); 48 48 final ExecutorService threadPool = Executors.newFixedThreadPool(concurrentThreads); 49 49 for (String arg : args) { … … 89 89 90 90 if (config != null) { 91 Console.trace(Level.FINE , config.toString());91 Console.trace(Level.FINEST, config.toString()); 92 92 // Instantiate the class like it was given as parameter in the config file and cast it 93 93 // to the interface
Note: See TracChangeset
for help on using the changeset viewer.