Package gaiasky.util
Class GlobalConf.PerformanceConf
java.lang.Object
gaiasky.util.GlobalConf.PerformanceConf
- All Implemented Interfaces:
GlobalConf.IConf
- Enclosing class:
- GlobalConf
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize(boolean MULTITHREADING, int NUMBER_THREADS)
int
Returns the actual number of threads.
-
Field Details
-
MULTITHREADING
public boolean MULTITHREADING -
NUMBER_THREADS
public int NUMBER_THREADS
-
-
Constructor Details
-
PerformanceConf
public PerformanceConf()
-
-
Method Details
-
initialize
public void initialize(boolean MULTITHREADING, int NUMBER_THREADS) -
NUMBER_THREADS
public int NUMBER_THREADS()Returns the actual number of threads. It accounts for the number of threads being 0 or less, "let the program decide" option, in which case the number of processors is returned- Returns:
- The number of threads
-