@Generated(value="config_generator.py") public class EnterpriseSchedulerFlagsConfig extends AbstractConfig
Modifier and Type | Class and Description |
---|---|
static class |
EnterpriseSchedulerFlagsConfig.Field
Fields of Enterprise Scheduler flags
|
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static EnterpriseSchedulerFlagsConfig.Field[] |
getConfigFields() |
java.util.Map<java.lang.String,java.lang.Object> |
getLeftoverValues()
Gets the values that do not belong to any field.
|
java.lang.String |
getMarkLoopForProfiling()
[Internal use only] ID for any additional loop to profile.
|
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.
|
java.lang.String |
getSelectPerformanceCounters()
[Internal use only] Perf counter configuration string.
|
java.lang.Integer |
getSelectPerformanceCountersJobRegions()
[Internal use only] Issue a region per job automatically.
|
java.lang.Integer |
getSelectPerformanceCountersLibrary()
[Internal use only] Perf counter library.
|
java.lang.Integer |
getSelectPerformanceCountersPcmShowCodes()
[Internal use only] Show PCM perf counter codes.
|
java.lang.Integer |
getSelectPerformanceCountersShowStats()
[Internal use only] Perf counter per-thread statistics.
|
java.lang.String |
getSelectRegionPerformanceCounters()
[Internal use only] Region perf counter configuration string.
|
java.util.Map<EnterpriseSchedulerFlagsConfig.Field,java.lang.Object> |
getValues()
Gets the parsed values.
|
java.util.Map<EnterpriseSchedulerFlagsConfig.Field,java.lang.Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
boolean |
hasDefaultValue(EnterpriseSchedulerFlagsConfig.Field field)
Checks for default value.
|
boolean |
isEmpty()
Checks if it's empty.
|
java.lang.Boolean |
isEnableDebugSignal()
[Internal use only] If
true , outputs a dump of internal state upon receiving a SIGQUIT signal. |
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. |
java.lang.Boolean |
isLogToStderr()
If
true log to stderr. |
java.lang.Boolean |
isOverrideMemoryPlacement()
[Internal use only] Over-ride memory placement tags and use the OS defaults instead.
|
java.lang.Boolean |
isShowAllocations()
If
true show memory allocation information. |
java.lang.Boolean |
isShowDebug()
[Internal use only] If
true enable debug output. |
java.lang.Boolean |
isShowDeterministicOutput()
[Internal use only] If
true omit thread IDs in debug output (set to true for determinism in regression tests) |
java.lang.Boolean |
isShowEnvironment()
If
true show version numbers and main environment settings at startup. |
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. |
java.lang.Boolean |
isShowProfiling()
If
true show profiling information. |
java.lang.Boolean |
isShowSchedulerState()
If
true dump scheduler state on each update. |
java.lang.Boolean |
isShowWarnings()
If
true enable warnings. |
java.lang.Boolean |
isSpinOnExit()
[Internal use only] If
true spin after execution, rather than exiting. |
static EnterpriseSchedulerFlagsConfig |
parse(java.io.InputStream is, boolean strict, java.lang.String parentPath)
Parses an input stream.
|
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.
|
static EnterpriseSchedulerFlagsConfig |
parse(java.util.Properties props, boolean strict)
Parses a properties file.
|
java.lang.String |
toString() |
java.lang.String |
toString(boolean hideSensitiveData) |
java.lang.Boolean |
useOpenmpThreadPool()
[Internal use only] If
true , use OpenMP based thread pool. |
getDefault, getValueFromEnvironment, getValueFromEnvironment, parseString, setSerializable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static EnterpriseSchedulerFlagsConfig.Field[] getConfigFields()
public java.util.Map<java.lang.String,java.lang.Object> getLeftoverValues()
public java.lang.String getMarkLoopForProfiling()
public java.lang.Integer getOverrideCoresPerSocket()
0
use h/w informationpublic java.lang.String getSelectPerformanceCounters()
public java.lang.Integer getSelectPerformanceCountersJobRegions()
public java.lang.Integer getSelectPerformanceCountersLibrary()
public java.lang.Integer getSelectPerformanceCountersPcmShowCodes()
public java.lang.Integer getSelectPerformanceCountersShowStats()
public java.lang.String getSelectRegionPerformanceCounters()
public java.util.Map<EnterpriseSchedulerFlagsConfig.Field,java.lang.Object> getValues()
getValues
in class AbstractConfig
public java.util.Map<EnterpriseSchedulerFlagsConfig.Field,java.lang.Object> getValuesWithoutDefaults()
public boolean hasDefaultValue(EnterpriseSchedulerFlagsConfig.Field field)
field
- the fieldpublic boolean isEmpty()
public java.lang.Boolean isEnableDebugSignal()
true
, outputs a dump of internal state upon receiving a SIGQUIT signal.public java.lang.Boolean isFixThreadsUsedFromMain()
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.public java.lang.Boolean isLogToStderr()
true
log to stderr. If false
log using PGX's default logging facility.public java.lang.Boolean isOverrideMemoryPlacement()
true
use OS defaults, if false
use workload tagspublic java.lang.Boolean isShowAllocations()
true
show memory allocation information.public java.lang.Boolean isShowDebug()
true
enable debug output. This is only available in debug builds.public java.lang.Boolean isShowDeterministicOutput()
true
omit thread IDs in debug output (set to true for determinism in regression tests)public java.lang.Boolean isShowEnvironment()
true
show version numbers and main environment settings at startup.public java.lang.Boolean isShowLogging()
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.public java.lang.Boolean isShowProfiling()
true
show profiling information.public java.lang.Boolean isShowSchedulerState()
true
dump scheduler state on each update.public java.lang.Boolean isShowWarnings()
true
enable warnings. These are non-fatal errors -- e.g., if a NUMA-aware allocation cannot be placed on the intended socket.public java.lang.Boolean isSpinOnExit()
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.public static EnterpriseSchedulerFlagsConfig parse(java.io.InputStream is, boolean strict, java.lang.String parentPath) throws java.io.IOException
is
- the input streamstrict
- if true, parses in strict modeparentPath
- if not null, resolves relative paths against this parentPathjava.io.IOException
- Signals that an I/O exception has occurred.public static EnterpriseSchedulerFlagsConfig parse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath)
raw
- the raw key/value mapping to parsestrict
- if true, parses in strict modeparentPath
- if not null, resolves relative paths against this parentPathpublic static EnterpriseSchedulerFlagsConfig parse(java.util.Properties props, boolean strict)
props
- the properties to parsestrict
- if true, parses in strict modepublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(boolean hideSensitiveData)
public java.lang.Boolean useOpenmpThreadPool()
true
, use OpenMP based thread pool. If false use pthreads based thread pool.