Package gaiasky.util

Class Settings.PerformanceSettings

java.lang.Object
gaiasky.util.Settings.PerformanceSettings
Enclosing class:
Settings

public static class Settings.PerformanceSettings extends Object
  • Field Details

    • multithreading

      public boolean multithreading
    • numberThreads

      public int numberThreads
  • Constructor Details

    • PerformanceSettings

      public PerformanceSettings()
  • Method Details

    • getNumberOfThreads

      public int getNumberOfThreads()
      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 logical processors is returned.
      Returns:
      The number of threads.