Package oracle.pgx.config
Class EnterpriseSchedulerFlagsConfig
- java.lang.Object
-
- oracle.pgx.config.AbstractConfig
-
- oracle.pgx.config.EnterpriseSchedulerFlagsConfig
-
@Generated("config_generator.py") public class EnterpriseSchedulerFlagsConfig extends AbstractConfigEnterprise Scheduler flags
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEnterpriseSchedulerFlagsConfig.FieldFields of Enterprise Scheduler flags
-
Field Summary
-
Fields inherited from class oracle.pgx.config.AbstractConfig
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(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.StringgetMarkLoopForProfiling()[Internal use only] ID for any additional loop to profile.java.lang.IntegergetOverrideCoresPerSocket()[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.StringgetSelectPerformanceCounters()[Internal use only] Perf counter configuration string.java.lang.IntegergetSelectPerformanceCountersJobRegions()[Internal use only] Issue a region per job automatically.java.lang.IntegergetSelectPerformanceCountersLibrary()[Internal use only] Perf counter library.java.lang.IntegergetSelectPerformanceCountersPcmShowCodes()[Internal use only] Show PCM perf counter codes.java.lang.IntegergetSelectPerformanceCountersShowStats()[Internal use only] Perf counter per-thread statistics.java.lang.StringgetSelectRegionPerformanceCounters()[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.booleanhasDefaultValue(EnterpriseSchedulerFlagsConfig.Field field)Checks for default value.booleanisEmpty()Checks if it's empty.java.lang.BooleanisEnableDebugSignal()[Internal use only] Iftrue, outputs a dump of internal state upon receiving a SIGQUIT signal.java.lang.BooleanisFixThreadsUsedFromMain()[Internal use only] Iftruefix threads used by work spawned by the main thread so that 0..N are used for an N-thread job.java.lang.BooleanisLogToStderr()Iftruelog to stderr.java.lang.BooleanisOverrideMemoryPlacement()[Internal use only] Over-ride memory placement tags and use the OS defaults instead.java.lang.BooleanisShowAllocations()Iftrueshow memory allocation information.java.lang.BooleanisShowDebug()[Internal use only] Iftrueenable debug output.java.lang.BooleanisShowDeterministicOutput()[Internal use only] Iftrueomit thread IDs in debug output (set to true for determinism in regression tests)java.lang.BooleanisShowEnvironment()Iftrueshow version numbers and main environment settings at startup.java.lang.BooleanisShowLogging()Iftrueenable 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.BooleanisShowProfiling()Iftrueshow profiling information.java.lang.BooleanisShowSchedulerState()Iftruedump scheduler state on each update.java.lang.BooleanisShowWarnings()Iftrueenable warnings.java.lang.BooleanisSpinOnExit()[Internal use only] Iftruespin after execution, rather than exiting.static EnterpriseSchedulerFlagsConfigparse(java.io.InputStream is, boolean strict, java.lang.String parentPath)Parses an input stream.static EnterpriseSchedulerFlagsConfigparse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath)Parses a raw key/value mapping.static EnterpriseSchedulerFlagsConfigparse(java.util.Properties props, boolean strict)Parses a properties file.java.lang.StringtoString()java.lang.StringtoString(boolean hideSensitiveData)java.lang.BooleanuseOpenmpThreadPool()[Internal use only] Iftrue, use OpenMP based thread pool.-
Methods inherited from class oracle.pgx.config.AbstractConfig
getDefault, getValueFromEnvironment, getValueFromEnvironment, parseString, setSerializable
-
-
-
-
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 streamstrict- if true, parses in strict modeparentPath- 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 parsestrict- if true, parses in strict modeparentPath- 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 parsestrict- if true, parses in strict mode- Returns:
- the parsed graph config
-
getConfigFields
public static EnterpriseSchedulerFlagsConfig.Field[] getConfigFields()
-
getValues
public java.util.Map<EnterpriseSchedulerFlagsConfig.Field,java.lang.Object> getValues()
Gets the parsed values.- Specified by:
getValuesin classAbstractConfig- Returns:
- the parsed values
-
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:
toStringin classjava.lang.Object
-
toString
public java.lang.String toString(boolean hideSensitiveData)
-
isShowLogging
public java.lang.Boolean isShowLogging()
Iftrueenable 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()
Iftrueenable 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()
Iftrueshow version numbers and main environment settings at startup.
-
isShowProfiling
public java.lang.Boolean isShowProfiling()
Iftrueshow profiling information.
-
isShowSchedulerState
public java.lang.Boolean isShowSchedulerState()
Iftruedump scheduler state on each update.
-
isShowAllocations
public java.lang.Boolean isShowAllocations()
Iftrueshow memory allocation information.
-
isLogToStderr
public java.lang.Boolean isLogToStderr()
Iftruelog to stderr. Iffalselog using PGX's default logging facility.
-
isShowDebug
public java.lang.Boolean isShowDebug()
[Internal use only] Iftrueenable debug output. This is only available in debug builds.
-
useOpenmpThreadPool
public java.lang.Boolean useOpenmpThreadPool()
[Internal use only] Iftrue, 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. If0use h/w information
-
isOverrideMemoryPlacement
public java.lang.Boolean isOverrideMemoryPlacement()
[Internal use only] Over-ride memory placement tags and use the OS defaults instead. Iftrueuse OS defaults, iffalseuse 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] Iftrueomit thread IDs in debug output (set to true for determinism in regression tests)
-
isSpinOnExit
public java.lang.Boolean isSpinOnExit()
[Internal use only] Iftruespin 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] Iftrue, outputs a dump of internal state upon receiving a SIGQUIT signal.
-
isFixThreadsUsedFromMain
public java.lang.Boolean isFixThreadsUsedFromMain()
[Internal use only] Iftruefix 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:
equalsin classjava.lang.Object
-
-