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 AbstractConfig
Enterprise Scheduler flags
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumFields of Enterprise Scheduler flags -
Field Summary
Fields inherited from class oracle.pgx.config.AbstractConfig
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic EnterpriseSchedulerFlagsConfig.Field[]Gets the values that do not belong to any field.[Internal use only] ID for any additional loop to profile.[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.[Internal use only] Perf counter configuration string.[Internal use only] Issue a region per job automatically.[Internal use only] Perf counter library.[Internal use only] Show PCM perf counter codes.[Internal use only] Perf counter per-thread statistics.[Internal use only] Region perf counter configuration string.Gets the parsed values.Gets the values without defaults.booleanChecks for default value.booleanisEmpty()Checks if it's empty.[Internal use only] Iftrue, outputs a dump of internal state upon receiving a SIGQUIT signal.[Internal use only] Iftruefix threads used by work spawned by the main thread so that 0..N are used for an N-thread job.Iftruelog to stderr.[Internal use only] Over-ride memory placement tags and use the OS defaults instead.Iftrueshow memory allocation information.[Internal use only] Iftrueenable debug output.[Internal use only] Iftrueomit thread IDs in debug output (set to true for determinism in regression tests)Iftrueshow version numbers and main environment settings at startup.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.Iftrueshow profiling information.Iftruedump scheduler state on each update.Iftrueenable warnings.[Internal use only] Iftruespin after execution, rather than exiting.parse(InputStream is, boolean strict, String parentPath) Parses an input stream.Parses a raw key/value mapping.parse(Properties props, boolean strict) Parses a properties file.toString()toString(boolean hideSensitiveData) [Internal use only] Iftrue, use OpenMP based thread pool.Methods inherited from class oracle.pgx.config.AbstractConfig
getDefault, getValueFromEnvironment, getValueFromEnvironment, parseString, setSerializable
-
Method Details
-
parse
public static EnterpriseSchedulerFlagsConfig parse(InputStream is, boolean strict, String parentPath) throws 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:
IOException- Signals that an I/O exception has occurred.
-
parse
public static EnterpriseSchedulerFlagsConfig parse(Map<String, Object> raw, boolean strict, 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
Parses a properties file.- Parameters:
props- the properties to parsestrict- if true, parses in strict mode- Returns:
- the parsed graph config
-
getConfigFields
-
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
Checks for default value.- Parameters:
field- the field- Returns:
- true, if value for given field is the default value
-
getValuesWithoutDefaults
Gets the values without defaults.- Returns:
- the values without defaults
-
getLeftoverValues
Gets the values that do not belong to any field.- Returns:
- the values that do not belong to any field
-
toString
-
toString
-
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
Iftrueenable warnings. These are non-fatal errors -- e.g., if a NUMA-aware allocation cannot be placed on the intended socket. -
isShowEnvironment
Iftrueshow version numbers and main environment settings at startup. -
isShowProfiling
Iftrueshow profiling information. -
isShowSchedulerState
Iftruedump scheduler state on each update. -
isShowAllocations
Iftrueshow memory allocation information. -
isLogToStderr
Iftruelog to stderr. Iffalselog using PGX's default logging facility. -
isShowDebug
[Internal use only] Iftrueenable debug output. This is only available in debug builds. -
useOpenmpThreadPool
[Internal use only] Iftrue, use OpenMP based thread pool. If false use pthreads based thread pool. -
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
[Internal use only] Over-ride memory placement tags and use the OS defaults instead. Iftrueuse OS defaults, iffalseuse workload tags -
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
[Internal use only] Perf counter configuration string. -
getSelectRegionPerformanceCounters
[Internal use only] Region perf counter configuration string. -
getSelectPerformanceCountersLibrary
[Internal use only] Perf counter library. -
getSelectPerformanceCountersPcmShowCodes
[Internal use only] Show PCM perf counter codes. -
getSelectPerformanceCountersJobRegions
[Internal use only] Issue a region per job automatically. -
getSelectPerformanceCountersShowStats
[Internal use only] Perf counter per-thread statistics. -
isShowDeterministicOutput
[Internal use only] Iftrueomit thread IDs in debug output (set to true for determinism in regression tests) -
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
[Internal use only] Iftrue, outputs a dump of internal state upon receiving a SIGQUIT signal. -
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
-