public enum HjSystemProperty extends Enum<HjSystemProperty>
HjSystemProperty class.
Enum Constant and Description |
---|
abstractMetrics
Enables abstract execution metrics.
|
diagnoseDeadlocks
Whether to track deadlock situations when all workers become idle.
|
eventLogging
Whether to enable event logging.
|
executionGraph
Whether to display the execution graph.
|
fjAsyncMode
Whether to use asyncMode in the fork-join pool.
|
isolatedLocks
Number locks to use for object-based isolation.
|
isolatedLockType
Number locks to use for object-based isolation.
|
locationInName
Uses call stack to determine HJ construct names.
|
maxThreads
Maximum number of worker threads to use.
|
nbAsyncOpt
Whether to use asyncMode in the fork-join pool.
|
numPlaces
Number of workers to use.
|
numWorkers
Number of workers to use.
|
phaserBusyWait
Number of iterations in busy wait before resorting to thread-blocking operations in phaser wait instructions.
|
runtime
The HJ runtime to use.
|
showBuildVersion
Show build version.
|
showRuntimeStats
Show runtime stats.
|
showWarning
Show warning/debug messages.
|
speedUpGraph
Whether to display the speed-up graph.
|
trackDeadlocks
Whether to track deadlock situations when all workers become idle.
|
Modifier and Type | Method and Description |
---|---|
static void |
enableAbstractMetricsFlags()
Helper method to enable abstract metrics and associated flags.
|
static void |
enableDebuggingFlags()
Helper method to enable debugging associated flags.
|
static void |
enablePerformanceAnalysisFlags()
Helper method to enable performance associated flags.
|
String |
getPropertyValue()
getPropertyValue.
|
static void |
resetConfigurations()
Resets all the Habanero configurations to their default values.
|
void |
set(Object value)
Helper method to set the property used by the Habanero runtime during initialization.
|
void |
setProperty(Object value)
Helper method to set the property used by the Habanero runtime during initialization.
|
static void |
setSystemProperty(HjSystemProperty hjSystemProperty,
Object value)
Helper method to set the property used by the Habanero runtime during initialization.
|
String |
toString() |
static HjSystemProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HjSystemProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HjSystemProperty numPlaces
public static final HjSystemProperty numWorkers
public static final HjSystemProperty maxThreads
public static final HjSystemProperty phaserBusyWait
public static final HjSystemProperty isolatedLocks
public static final HjSystemProperty isolatedLockType
public static final HjSystemProperty fjAsyncMode
public static final HjSystemProperty nbAsyncOpt
public static final HjSystemProperty showWarning
public static final HjSystemProperty showRuntimeStats
public static final HjSystemProperty showBuildVersion
public static final HjSystemProperty locationInName
public static final HjSystemProperty abstractMetrics
public static final HjSystemProperty executionGraph
public static final HjSystemProperty speedUpGraph
public static final HjSystemProperty eventLogging
public static final HjSystemProperty runtime
public static final HjSystemProperty trackDeadlocks
public static final HjSystemProperty diagnoseDeadlocks
public static HjSystemProperty[] values()
for (HjSystemProperty c : HjSystemProperty.values()) System.out.println(c);
public static HjSystemProperty valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static void resetConfigurations()
Module0.initializeHabanero()
to reset the configurations.public static void setSystemProperty(HjSystemProperty hjSystemProperty, Object value)
hjSystemProperty
- The system property to setvalue
- The new value of the propertypublic static void enableAbstractMetricsFlags()
public static void enableDebuggingFlags()
public static void enablePerformanceAnalysisFlags()
public void set(Object value)
value
- The new value of the propertypublic void setProperty(Object value)
value
- The new value of the propertypublic String toString()
toString
in class Enum<HjSystemProperty>
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.