Package gaiasky.util

Class GlobalConf.PerformanceConf

java.lang.Object
gaiasky.util.GlobalConf.PerformanceConf
All Implemented Interfaces:
GlobalConf.IConf
Enclosing class:
GlobalConf

public static class GlobalConf.PerformanceConf extends Object implements GlobalConf.IConf
  • 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