|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sei.aadl.modelsupport.properties.GetProperties
public class GetProperties
Constructor Summary | |
---|---|
GetProperties()
|
Method Summary | |
---|---|
static double |
convertToScale(double origvalue,
UnitLiteral original,
UnitLiteral target)
Converts the value from the original unit to the target unit |
static double |
getAccessLatencyinMS(ComponentInstance HWcomp,
ComponentInstance bus)
|
static Property |
getActualConnectionBinding()
|
static java.util.List |
getActualConnectionBinding(NamedElement ne)
|
static double |
getActualLatencyinMS(NamedElement ne)
|
static java.util.List<ComponentInstance> |
getActualMemoryBinding(InstanceObject io)
|
static double |
getActualMIPS(ComponentInstance bci)
|
static java.util.List<ComponentInstance> |
getActualProcessorBinding(InstanceObject io)
|
static double |
getBandWidthBudgetInKbps(NamedElement ne,
double defaultValue)
|
static double |
getBandWidthCapacityInKbps(NamedElement ne,
double defaultValue)
|
static long |
getByteCount(NamedElement ne)
|
static UnitLiteral |
getBytesUnitLiteral()
|
static double |
getComputeExecutionTimeinMS(NamedElement ne)
|
static double |
getComputeExecutionTimeInSec(NamedElement ne,
double defaultValue)
|
static double |
getCycletimeasMIPS(ComponentInstance curprocessor)
return cycletime in terms of MIPS, zero if no cycle timee |
static double |
getCycleTimeinMS(NamedElement ne)
|
static double |
getDeadlineinMS(NamedElement ne)
|
static EnumerationLiteral |
getDeviceDispatchProtocol(NamedElement ne)
|
static EnumerationLiteral |
getDispatchProtocol(NamedElement ne)
|
static double |
getExpectedLatencyinMS(NamedElement ne)
|
static UnitLiteral |
getGBUnitLiteral()
|
static boolean |
getIsPartition(NamedElement ne)
|
static UnitLiteral |
getKbpsUnitLiteral()
|
static UnitLiteral |
getKBUnitLiteral()
|
static double |
getLatencyinMS(NamedElement ne)
|
static UnitLiteral |
getMBUnitLiteral()
|
static UnitLiteral |
getMicroSecondUnit()
|
static UnitLiteral |
getMilliSecondUnit()
|
static double |
getMIPSBudget(NamedElement ne)
|
static double |
getMIPSBudgetInMIPS(NamedElement ne,
double defaultValue)
|
static Property |
getMIPSBudgetPD()
|
static double |
getMIPSCapacityInMIPS(NamedElement ne,
double defaultValue)
|
static Property |
getMIPSCapacityPD()
|
static UnitLiteral |
getMIPSUnitLiteral()
|
static UnitLiteral |
getMSUnitLiteral()
|
static double |
getPartitionLatencyInMS(NamedElement ne,
double defaultValue)
|
static double |
getPeriodinMS(NamedElement ne)
|
static double |
getPeriodInSeconds(NamedElement ne,
double defaultValue)
|
static double |
getPowerBudget(NamedElement ne,
double defaultValue)
|
static double |
getPowerCapacity(NamedElement ne,
double defaultValue)
|
static double |
getPowerSupply(NamedElement ne,
double defaultValue)
|
static long |
getPriority(NamedElement ne,
long defaultValue)
|
static double |
getProcessorScalingFactor(ComponentInstance thread)
get the scaling factor between the processor the thread is bound to and the reference processor used to specify the cycle time |
static long |
getQueueSize(NamedElement ne)
|
static Property |
getRAMActualPD()
|
static Property |
getRAMBudgetPD()
|
static Property |
getRAMCapacityPD()
|
static double |
getReferenceCycleTimeConstantinMS()
|
static double |
getReferenceCycleTimeinMS(ComponentInstance thread)
get cycle time that is the reference for the execution time of the thread This value is determined based on the reference processor, or the ReferenceCycleTime constant |
static double |
getReferenceMIPS(ComponentInstance thread)
Get the MIPS per sec of the reference processor. |
static ComponentClassifier |
getReferenceProcessor(NamedElement ne)
|
static Property |
getROMActualPD()
|
static Property |
getROMBudgetPD()
|
static Property |
getROMCapacityPD()
|
static java.lang.String |
getSchedulingProtocol(NamedElement ne,
java.lang.String defaultValue)
|
static UnitLiteral |
getSecondUnit()
|
static double |
getSourceCodeSizeInBytes(NamedElement ne)
|
static double |
getSourceDataSizeInBytes(NamedElement ne)
|
static double |
getSourceStackSizeInBytes(NamedElement ne)
|
static Property |
getTransmissionTime()
|
static void |
initialize()
|
static Property |
lookupPropertyDefinition(java.lang.String ps,
java.lang.String name)
|
static UnitLiteral |
lookupUnitLiteral(java.lang.String ps,
java.lang.String unitType,
java.lang.String literalName)
|
static UnitLiteral |
scaleupUnit(double origvalue,
UnitLiteral original)
Determines the target unit from the original unit to scale the value to a higher unit The goal is |
static double |
scaleValueToMicroSecond(NumberValue nv)
|
static java.lang.String |
toStringScaled(double value,
UnitLiteral unit)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GetProperties()
Method Detail |
---|
public static void initialize()
public static Property lookupPropertyDefinition(java.lang.String ps, java.lang.String name)
public static UnitLiteral lookupUnitLiteral(java.lang.String ps, java.lang.String unitType, java.lang.String literalName)
public static java.util.List<ComponentInstance> getActualProcessorBinding(InstanceObject io)
public static java.util.List<ComponentInstance> getActualMemoryBinding(InstanceObject io)
public static java.util.List getActualConnectionBinding(NamedElement ne)
public static double getMIPSCapacityInMIPS(NamedElement ne, double defaultValue)
public static double getMIPSBudgetInMIPS(NamedElement ne, double defaultValue)
public static UnitLiteral getMIPSUnitLiteral()
public static UnitLiteral getMSUnitLiteral()
public static Property getActualConnectionBinding()
public static Property getTransmissionTime()
public static Property getMIPSCapacityPD()
public static Property getMIPSBudgetPD()
public static Property getRAMCapacityPD()
public static Property getRAMBudgetPD()
public static Property getROMCapacityPD()
public static Property getROMBudgetPD()
public static Property getRAMActualPD()
public static Property getROMActualPD()
public static double getBandWidthCapacityInKbps(NamedElement ne, double defaultValue)
public static double getBandWidthBudgetInKbps(NamedElement ne, double defaultValue)
public static ComponentClassifier getReferenceProcessor(NamedElement ne)
public static double getCycleTimeinMS(NamedElement ne)
public static double scaleValueToMicroSecond(NumberValue nv)
public static UnitLiteral getBytesUnitLiteral()
public static UnitLiteral getKBUnitLiteral()
public static UnitLiteral getMBUnitLiteral()
public static UnitLiteral getGBUnitLiteral()
public static UnitLiteral getKbpsUnitLiteral()
public static double getActualMIPS(ComponentInstance bci)
public static double getReferenceCycleTimeinMS(ComponentInstance thread)
thread
-
public static double getReferenceCycleTimeConstantinMS()
public static double getProcessorScalingFactor(ComponentInstance thread)
thread
-
public static double getReferenceMIPS(ComponentInstance thread)
public static double getCycletimeasMIPS(ComponentInstance curprocessor)
curprocessor
-
public static double getPowerCapacity(NamedElement ne, double defaultValue)
public static double getPowerBudget(NamedElement ne, double defaultValue)
public static double getPowerSupply(NamedElement ne, double defaultValue)
public static double getPeriodinMS(NamedElement ne)
public static double getActualLatencyinMS(NamedElement ne)
public static long getQueueSize(NamedElement ne)
public static double getMIPSBudget(NamedElement ne)
public static double getDeadlineinMS(NamedElement ne)
public static double getComputeExecutionTimeinMS(NamedElement ne)
public static double getComputeExecutionTimeInSec(NamedElement ne, double defaultValue)
public static double getPeriodInSeconds(NamedElement ne, double defaultValue)
public static long getPriority(NamedElement ne, long defaultValue)
public static java.lang.String getSchedulingProtocol(NamedElement ne, java.lang.String defaultValue)
public static EnumerationLiteral getDispatchProtocol(NamedElement ne)
public static double getSourceDataSizeInBytes(NamedElement ne)
public static double getSourceCodeSizeInBytes(NamedElement ne)
public static double getSourceStackSizeInBytes(NamedElement ne)
public static EnumerationLiteral getDeviceDispatchProtocol(NamedElement ne)
public static double getPartitionLatencyInMS(NamedElement ne, double defaultValue)
public static boolean getIsPartition(NamedElement ne)
public static double getLatencyinMS(NamedElement ne)
public static double getAccessLatencyinMS(ComponentInstance HWcomp, ComponentInstance bus)
public static double getExpectedLatencyinMS(NamedElement ne)
public static double convertToScale(double origvalue, UnitLiteral original, UnitLiteral target)
public static UnitLiteral scaleupUnit(double origvalue, UnitLiteral original)
public static java.lang.String toStringScaled(double value, UnitLiteral unit)
public static long getByteCount(NamedElement ne)
public static UnitLiteral getMilliSecondUnit()
public static UnitLiteral getMicroSecondUnit()
public static UnitLiteral getSecondUnit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |