public abstract class AbstractConfig extends Object
@BenchmarkConfig public class Config extends AbstractConfig { private final static int RUNS = 100; private final static AbstractMeter[] METERS = { new TimeMeter(Time.MilliSeconds), new MemMeter(Memory.Byte) }; private final static AbstractOutput[] OUTPUT = { new TabularSummaryOutput() }; private final static KindOfArrangement ARRAN = KindOfArrangement.SequentialMethodArrangement; private final static double GCPROB = 1.0d; public Config() { super(RUNS, METERS, OUTPUT, ARRAN, GCPROB); } }
Modifier and Type | Class and Description |
---|---|
static class |
AbstractConfig.StandardConfig
Standard config.
|
Modifier and Type | Field and Description |
---|---|
static KindOfArrangement |
ARRAN
Standard arrangement
|
static double |
GARBAGE_PROB
Standard gc-prob
|
static Set<AbstractOutput> |
LISTENERS
Standard listeners
|
static Set<AbstractMeter> |
METERS
Standard meters
|
static int |
RUNS
Standard runs
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractConfig(int paramRuns,
Set<AbstractMeter> paramMeters,
Set<AbstractOutput> paramOutput,
KindOfArrangement paramArr,
double paramGC)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
KindOfArrangement |
getArrangement()
Getter for member arrangement
|
double |
getGcProb()
Getter for member gcProb
|
AbstractOutput[] |
getListener()
Getter for member listeners
|
AbstractMeter[] |
getMeters()
Getter for member meters
|
int |
getRuns()
Getter for member runs
|
public static final int RUNS
public static final Set<AbstractMeter> METERS
public static final Set<AbstractOutput> LISTENERS
public static final KindOfArrangement ARRAN
public static final double GARBAGE_PROB
protected AbstractConfig(int paramRuns, Set<AbstractMeter> paramMeters, Set<AbstractOutput> paramOutput, KindOfArrangement paramArr, double paramGC)
public final AbstractMeter[] getMeters()
public final int getRuns()
public final double getGcProb()
public final AbstractOutput[] getListener()
public final KindOfArrangement getArrangement()
Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.