Package gaia.cu9.ari.gaiaorbit.util
Class GlobalConf.PerformanceConf
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.util.GlobalConf.PerformanceConf
-
- All Implemented Interfaces:
GlobalConf.IConf
- Enclosing class:
- GlobalConf
public static class GlobalConf.PerformanceConf extends java.lang.Object implements GlobalConf.IConf
-
-
Field Summary
Fields Modifier and Type Field Description boolean
MULTITHREADING
int
NUMBER_THREADS
-
Constructor Summary
Constructors Constructor Description PerformanceConf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(boolean MULTITHREADING, int NUMBER_THREADS)
int
NUMBER_THREADS()
Returns the actual number of threads.
-
-
-
Method Detail
-
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
-
-