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 Classes Modifier and Type Class Description static class
EnterpriseSchedulerFlagsConfig.Field
Fields 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 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] Iftrue
, outputs a dump of internal state upon receiving a SIGQUIT signal.java.lang.Boolean
isFixThreadsUsedFromMain()
[Internal use only] Iftrue
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()
Iftrue
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()
Iftrue
show memory allocation information.java.lang.Boolean
isShowDebug()
[Internal use only] Iftrue
enable debug output.java.lang.Boolean
isShowDeterministicOutput()
[Internal use only] Iftrue
omit thread IDs in debug output (set to true for determinism in regression tests)java.lang.Boolean
isShowEnvironment()
Iftrue
show version numbers and main environment settings at startup.java.lang.Boolean
isShowLogging()
Iftrue
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()
Iftrue
show profiling information.java.lang.Boolean
isShowSchedulerState()
Iftrue
dump scheduler state on each update.java.lang.Boolean
isShowWarnings()
Iftrue
enable warnings.java.lang.Boolean
isSpinOnExit()
[Internal use only] Iftrue
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] 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:
getValues
in 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:
toString
in classjava.lang.Object
-
toString
public java.lang.String toString(boolean hideSensitiveData)
-
isShowLogging
public java.lang.Boolean isShowLogging()
Iftrue
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()
Iftrue
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()
Iftrue
show version numbers and main environment settings at startup.
-
isShowProfiling
public java.lang.Boolean isShowProfiling()
Iftrue
show profiling information.
-
isShowSchedulerState
public java.lang.Boolean isShowSchedulerState()
Iftrue
dump scheduler state on each update.
-
isShowAllocations
public java.lang.Boolean isShowAllocations()
Iftrue
show memory allocation information.
-
isLogToStderr
public java.lang.Boolean isLogToStderr()
Iftrue
log to stderr. Iffalse
log using PGX's default logging facility.
-
isShowDebug
public java.lang.Boolean isShowDebug()
[Internal use only] Iftrue
enable 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. If0
use h/w information
-
isOverrideMemoryPlacement
public java.lang.Boolean isOverrideMemoryPlacement()
[Internal use only] Over-ride memory placement tags and use the OS defaults instead. Iftrue
use OS defaults, iffalse
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] Iftrue
omit thread IDs in debug output (set to true for determinism in regression tests)
-
isSpinOnExit
public java.lang.Boolean isSpinOnExit()
[Internal use only] Iftrue
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] Iftrue
, outputs a dump of internal state upon receiving a SIGQUIT signal.
-
isFixThreadsUsedFromMain
public java.lang.Boolean isFixThreadsUsedFromMain()
[Internal use only] Iftrue
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 classjava.lang.Object
-
-