algo.examples
Class ProfileSolution
java.lang.Object
algo.examples.ProfileSolution
- All Implemented Interfaces:
- Solution, java.lang.Comparable<Solution>
public class ProfileSolution
- extends java.lang.Object
- implements Solution
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AR
public static final int AR
- See Also:
- Constant Field Values
ARP
public static final int ARP
- See Also:
- Constant Field Values
SLL
public static final int SLL
- See Also:
- Constant Field Values
DLL
public static final int DLL
- See Also:
- Constant Field Values
SLLO
public static final int SLLO
- See Also:
- Constant Field Values
DLLO
public static final int DLLO
- See Also:
- Constant Field Values
SLLAR
public static final int SLLAR
- See Also:
- Constant Field Values
DLLAR
public static final int DLLAR
- See Also:
- Constant Field Values
SLLARO
public static final int SLLARO
- See Also:
- Constant Field Values
DLLARO
public static final int DLLARO
- See Also:
- Constant Field Values
ddts
public static final java.lang.String[] ddts
varCount
protected static int varCount
baseName
protected static java.lang.String baseName
outDir
protected static java.lang.String outDir
cacheAccessTime
protected static double cacheAccessTime
dramAccessTime
protected static double dramAccessTime
cacheLineSize
protected static double cacheLineSize
dramBandwith
protected static double dramBandwith
cpuPower
protected static double cpuPower
cacheAccessEnergy
protected static double cacheAccessEnergy
dramAccessPower
protected static double dramAccessPower
Ne
protected static long[] Ne
NeSd
protected static double[] NeSd
Nve
protected static double[] Nve
Na
protected static int Na
Nn
protected static double[] Nn
Te
protected static int[] Te
Tref
protected static int Tref
readsPerDdt
protected static long[][] readsPerDdt
writesPerDdt
protected static long[][] writesPerDdt
readsPlusWritesPerDdt
protected static long[] readsPlusWritesPerDdt
cacheMissesL1
protected static double[][] cacheMissesL1
ddtsSelected
protected java.util.ArrayList<java.lang.Integer> ddtsSelected
objectiveValid
protected boolean objectiveValid
objectiveValue
protected double objectiveValue
ProfileSolution
public ProfileSolution()
ProfileSolution
public ProfileSolution(ProfileSolution src,
java.lang.Integer newDdt)
initializeProblem
public static void initializeProblem()
loadScalarAsInteger
public static int loadScalarAsInteger(org.w3c.dom.Element xmlProfileAnalyzer,
java.lang.String scalarName)
loadArrayAsInteger
public static int[] loadArrayAsInteger(org.w3c.dom.Element xmlProfileAnalyzer,
java.lang.String arrayName)
loadArrayAsLong
public static long[] loadArrayAsLong(org.w3c.dom.Element xmlProfileAnalyzer,
java.lang.String arrayName)
loadArrayAsDouble
public static double[] loadArrayAsDouble(org.w3c.dom.Element xmlProfileAnalyzer,
java.lang.String arrayName)
loadMatrixAsLong
public static long[][] loadMatrixAsLong(org.w3c.dom.Element xmlProfileAnalyzer,
java.lang.String matrixName)
updateCacheMisses
public static void updateCacheMisses()
clone
public ProfileSolution clone()
- Specified by:
clone
in interface Solution
- Overrides:
clone
in class java.lang.Object
isFeasible
public boolean isFeasible()
- Specified by:
isFeasible
in interface Solution
isComplete
public boolean isComplete()
- Specified by:
isComplete
in interface Solution
getObjective
public double getObjective()
- Specified by:
getObjective
in interface Solution
getBound
public double getBound()
- Specified by:
getBound
in interface Solution
getSuccessors
public java.util.Enumeration<Solution> getSuccessors()
- Specified by:
getSuccessors
in interface Solution
compareTo
public int compareTo(Solution rhs)
- Specified by:
compareTo
in interface java.lang.Comparable<Solution>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception