Class EnterpriseSchedulerFlagsConfig


  • @Generated("config_generator.py")
    public class EnterpriseSchedulerFlagsConfig
    extends AbstractConfig
    Enterprise Scheduler flags
    • Method Detail

      • parse

        public static EnterpriseSchedulerFlagsConfig parse​(java.io.InputStream is,
                                                           boolean strict,
                                                           java.lang.String parentPath)
                                                    throws java.io.IOException
        Parses an input stream.
        Parameters:
        is - the input stream
        strict - if true, parses in strict mode
        parentPath - if not null, resolves relative paths against this parentPath
        Returns:
        the parsed graph config
        Throws:
        java.io.IOException - Signals that an I/O exception has occurred.
      • parse

        public static EnterpriseSchedulerFlagsConfig parse​(java.util.Map<java.lang.String,​java.lang.Object> raw,
                                                           boolean strict,
                                                           java.lang.String parentPath)
        Parses a raw key/value mapping.
        Parameters:
        raw - the raw key/value mapping to parse
        strict - if true, parses in strict mode
        parentPath - if not null, resolves relative paths against this parentPath
        Returns:
        the parsed graph config
      • parse

        public static EnterpriseSchedulerFlagsConfig parse​(java.util.Properties props,
                                                           boolean strict)
        Parses a properties file.
        Parameters:
        props - the properties to parse
        strict - if true, parses in strict mode
        Returns:
        the parsed graph config
      • isEmpty

        public boolean isEmpty()
        Checks if it's empty.
        Returns:
        true, if the Map 'values' is empty.
      • hasDefaultValue

        public boolean hasDefaultValue​(EnterpriseSchedulerFlagsConfig.Field field)
        Checks for default value.
        Parameters:
        field - the field
        Returns:
        true, if value for given field is the default value
      • getValuesWithoutDefaults

        public java.util.Map<EnterpriseSchedulerFlagsConfig.Field,​java.lang.Object> getValuesWithoutDefaults()
        Gets the values without defaults.
        Returns:
        the values without defaults
      • getLeftoverValues

        public java.util.Map<java.lang.String,​java.lang.Object> getLeftoverValues()
        Gets the values that do not belong to any field.
        Returns:
        the values that do not belong to any field
      • toString

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

        public java.lang.String toString​(boolean hideSensitiveData)
      • isShowLogging

        public java.lang.Boolean isShowLogging()
        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.
      • isShowWarnings

        public java.lang.Boolean isShowWarnings()
        If true enable warnings. These are non-fatal errors -- e.g., if a NUMA-aware allocation cannot be placed on the intended socket.
      • isShowEnvironment

        public java.lang.Boolean isShowEnvironment()
        If true show version numbers and main environment settings at startup.
      • isShowProfiling

        public java.lang.Boolean isShowProfiling()
        If true show profiling information.
      • isShowSchedulerState

        public java.lang.Boolean isShowSchedulerState()
        If true dump scheduler state on each update.
      • isShowAllocations

        public java.lang.Boolean isShowAllocations()
        If true show memory allocation information.
      • isLogToStderr

        public java.lang.Boolean isLogToStderr()
        If true log to stderr. If false log using PGX's default logging facility.
      • isShowDebug

        public java.lang.Boolean isShowDebug()
        [Internal use only] If true enable debug output. This is only available in debug builds.
      • useOpenmpThreadPool

        public java.lang.Boolean useOpenmpThreadPool()
        [Internal use only] If true, use OpenMP based thread pool. If false use pthreads based thread pool.
      • getOverrideCoresPerSocket

        public java.lang.Integer getOverrideCoresPerSocket()
        [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
      • isOverrideMemoryPlacement

        public java.lang.Boolean isOverrideMemoryPlacement()
        [Internal use only] Over-ride memory placement tags and use the OS defaults instead. If true use OS defaults, if false use workload tags
      • getMarkLoopForProfiling

        public java.lang.String getMarkLoopForProfiling()
        [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.
      • getSelectPerformanceCounters

        public java.lang.String getSelectPerformanceCounters()
        [Internal use only] Perf counter configuration string.
      • getSelectRegionPerformanceCounters

        public java.lang.String getSelectRegionPerformanceCounters()
        [Internal use only] Region perf counter configuration string.
      • getSelectPerformanceCountersLibrary

        public java.lang.Integer getSelectPerformanceCountersLibrary()
        [Internal use only] Perf counter library.
      • getSelectPerformanceCountersPcmShowCodes

        public java.lang.Integer getSelectPerformanceCountersPcmShowCodes()
        [Internal use only] Show PCM perf counter codes.
      • getSelectPerformanceCountersJobRegions

        public java.lang.Integer getSelectPerformanceCountersJobRegions()
        [Internal use only] Issue a region per job automatically.
      • getSelectPerformanceCountersShowStats

        public java.lang.Integer getSelectPerformanceCountersShowStats()
        [Internal use only] Perf counter per-thread statistics.
      • isShowDeterministicOutput

        public java.lang.Boolean isShowDeterministicOutput()
        [Internal use only] If true omit thread IDs in debug output (set to true for determinism in regression tests)
      • isSpinOnExit

        public java.lang.Boolean isSpinOnExit()
        [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.
      • isEnableDebugSignal

        public java.lang.Boolean isEnableDebugSignal()
        [Internal use only] If true, outputs a dump of internal state upon receiving a SIGQUIT signal.
      • isFixThreadsUsedFromMain

        public java.lang.Boolean isFixThreadsUsedFromMain()
        [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.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object