Class EnterpriseSchedulerFlagsConfigBuilder


  • @Generated({"common/config/src/templates/ConfigBuilder.stg","common/config/config.gradle"})
    public final class EnterpriseSchedulerFlagsConfigBuilder
    extends java.lang.Object
    • Constructor Detail

      • EnterpriseSchedulerFlagsConfigBuilder

        public EnterpriseSchedulerFlagsConfigBuilder()
        Constructs an empty EnterpriseSchedulerFlagsConfigBuilder
      • EnterpriseSchedulerFlagsConfigBuilder

        public EnterpriseSchedulerFlagsConfigBuilder​(java.util.Map<EnterpriseSchedulerFlagsConfig.Field,​java.lang.Object> values)
        Constructs a EnterpriseSchedulerFlagsConfigBuilder initialized with the values from the given map
        Parameters:
        values - a map containing configuration values
      • EnterpriseSchedulerFlagsConfigBuilder

        public EnterpriseSchedulerFlagsConfigBuilder​(EnterpriseSchedulerFlagsConfig config)
        Constructs a EnterpriseSchedulerFlagsConfigBuilder initialized with the values from the given config
        Parameters:
        config - the configuration to take the values from
      • EnterpriseSchedulerFlagsConfigBuilder

        public EnterpriseSchedulerFlagsConfigBuilder​(EnterpriseSchedulerFlagsConfigBuilder builder)
        Constructs a EnterpriseSchedulerFlagsConfigBuilder initialized with the values from the given builder
        Parameters:
        builder - the builder to take the values from
    • Method Detail

      • build

        public EnterpriseSchedulerFlagsConfig build​(java.lang.String parentPath)
        Builds the EnterpriseSchedulerFlagsConfig.
        Parameters:
        parentPath - if not null, resolves relative paths against this parentPath
        Returns:
        an instance of EnterpriseSchedulerFlagsConfig
      • toInputStream

        public java.io.InputStream toInputStream()
        Returns:
        an InputStream representing the config
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setShowLogging

        public EnterpriseSchedulerFlagsConfigBuilder setShowLogging​(boolean showLogging)
        If true enable summary logging -- this is available even in non-debug builds and includes information such as the machine h/w information obtained at start-up, and per-job / per-loop* information about the workload.
      • setShowWarnings

        public EnterpriseSchedulerFlagsConfigBuilder setShowWarnings​(boolean showWarnings)
        If true enable warnings. These are non-fatal errors -- e.g., if a NUMA-aware allocation cannot be placed on the intended socket.
      • setShowEnvironment

        public EnterpriseSchedulerFlagsConfigBuilder setShowEnvironment​(boolean showEnvironment)
        If true show version numbers and main environment settings at startup.
      • setShowDebug

        public EnterpriseSchedulerFlagsConfigBuilder setShowDebug​(boolean showDebug)
        [Internal use only] If true enable debug output. This is only available in debug builds.
      • setUseOpenmpThreadPool

        public EnterpriseSchedulerFlagsConfigBuilder setUseOpenmpThreadPool​(boolean useOpenmpThreadPool)
        [Internal use only] If true, use OpenMP based thread pool. If false use pthreads based thread pool.
      • setOverrideCoresPerSocket

        public EnterpriseSchedulerFlagsConfigBuilder setOverrideCoresPerSocket​(int overrideCoresPerSocket)
        [Internal use only] Over-ride the core-to-socket allocation, treating a fixed number of cores as a socket for the purposes of the per-socket combining structures. This is for experimental use on processors like the M7 with core clusters. If 0 use h/w information
      • setOverrideMemoryPlacement

        public EnterpriseSchedulerFlagsConfigBuilder setOverrideMemoryPlacement​(boolean overrideMemoryPlacement)
        [Internal use only] Over-ride memory placement tags and use the OS defaults instead. If true use OS defaults, if false use workload tags
      • setMarkLoopForProfiling

        public EnterpriseSchedulerFlagsConfigBuilder setMarkLoopForProfiling​(java.lang.String markLoopForProfiling)
        [Internal use only] ID for any additional loop to profile. If set, the format is name:idx, e.g. "FooBar:1" for the first execution of the FooBar loop, or "XXYZ" for all executions of the XXYZ loop.
      • setSelectPerformanceCounters

        public EnterpriseSchedulerFlagsConfigBuilder setSelectPerformanceCounters​(java.lang.String selectPerformanceCounters)
        [Internal use only] Perf counter configuration string.
      • setSelectRegionPerformanceCounters

        public EnterpriseSchedulerFlagsConfigBuilder setSelectRegionPerformanceCounters​(java.lang.String selectRegionPerformanceCounters)
        [Internal use only] Region perf counter configuration string.
      • setSelectPerformanceCountersLibrary

        public EnterpriseSchedulerFlagsConfigBuilder setSelectPerformanceCountersLibrary​(int selectPerformanceCountersLibrary)
        [Internal use only] Perf counter library.
      • setSelectPerformanceCountersPcmShowCodes

        public EnterpriseSchedulerFlagsConfigBuilder setSelectPerformanceCountersPcmShowCodes​(int selectPerformanceCountersPcmShowCodes)
        [Internal use only] Show PCM perf counter codes.
      • setSelectPerformanceCountersJobRegions

        public EnterpriseSchedulerFlagsConfigBuilder setSelectPerformanceCountersJobRegions​(int selectPerformanceCountersJobRegions)
        [Internal use only] Issue a region per job automatically.
      • setSelectPerformanceCountersShowStats

        public EnterpriseSchedulerFlagsConfigBuilder setSelectPerformanceCountersShowStats​(int selectPerformanceCountersShowStats)
        [Internal use only] Perf counter per-thread statistics.
      • setShowDeterministicOutput

        public EnterpriseSchedulerFlagsConfigBuilder setShowDeterministicOutput​(boolean showDeterministicOutput)
        [Internal use only] If true omit thread IDs in debug output (set to true for determinism in regression tests)
      • setSpinOnExit

        public EnterpriseSchedulerFlagsConfigBuilder setSpinOnExit​(boolean spinOnExit)
        [Internal use only] If true spin after execution, rather than exiting. This provides an opportunity to attach a debugger or to inspect the placement of threads or of memory.
      • setEnableDebugSignal

        public EnterpriseSchedulerFlagsConfigBuilder setEnableDebugSignal​(boolean enableDebugSignal)
        [Internal use only] If true, outputs a dump of internal state upon receiving a SIGQUIT signal.
      • setFixThreadsUsedFromMain

        public EnterpriseSchedulerFlagsConfigBuilder setFixThreadsUsedFromMain​(boolean fixThreadsUsedFromMain)
        [Internal use only] If true fix threads used by work spawned by the main thread so that 0..N are used for an N-thread job. This aids comparison with OpenMP. If this is not set then threads will be chosen dynamically by the runtime system.