Commit f40c9f46 authored by rosemaryng's avatar rosemaryng
Browse files

[Metrics] Remove selection of busy servers from UI and displaying simulation result

parent e656e4ec
......@@ -600,7 +600,6 @@ public class Queue extends InputSection {
System.out.println("waitingTime for a retrial job: " + waitingTime);
}
// System.out.println("retrialJobsCount: " + retried.size() + " retrials Total Count: " + retrialCount + " orbit size: " + nodeJobsList.getRetrialOrbit() + " NodeJobsList: " + nodeJobsList.getInternalJobInfoList());
nodeJobsList.updateWaitingTime(job, waitingTime);
// If parent node is a fork node adds job to FJ info list
if (getOwnerNode().getSection(NodeSection.OUTPUT) instanceof Fork) {
addJobToBuffer(job, message, BufferType.FJ_LIST);
......@@ -737,6 +736,7 @@ public class Queue extends InputSection {
// else set coolStart to true
coolStart = true;
}
break;
case NetEvent.EVENT_JOB_COMPLETED:
......
......@@ -181,6 +181,7 @@ public class Server extends ServiceSection {
// this ack again when computation is finished)
sendBackward(NetEvent.EVENT_ACK, message.getJob(), 0.0);
}
getOwnerNode().getJobInfoList().updateWaitingTime(job, getTime());
} else {
//server is busy
return MSG_NOT_PROCESSED;
......
......@@ -89,7 +89,6 @@ public abstract class ServiceSection extends PipeSection {
* @return a token to remove sent event.
*/
protected RemoveToken sendBackward(int event, Object data, double delay) {
// this.getOwnerNode().getJobInfoList().updateWaitingTime((Job) data);
return send(event, data, delay, NodeSection.INPUT);
}
......
......@@ -206,7 +206,6 @@ public class GlobalJobInfoList {
public void removeJob(Job job) {
updateJobNumber(job);
updateResponseTime(job);
updateWaitingTime(job);
updateThroughput(job);
updateSystemPower(job);
updateVisitCountPerChain(job);
......@@ -225,7 +224,6 @@ public class GlobalJobInfoList {
public void recycleJob(Job job) {
updateJobNumber(job);
updateResponseTime(job);
updateWaitingTime(job);
updateThroughput(job);
updateSystemPower(job);
updateVisitCountPerChain(job);
......@@ -450,37 +448,6 @@ public class GlobalJobInfoList {
}
}
// /**
// * Analyzes System Number of Jobs in retrial orbit for a specific job class or for every class.
// * @param jobClass specified job class. If null measure will be job independent.
// * @param Measure reference to a Measure object.
// */
// public void analyzeRetrialOrbitJobNumber(JobClass jobClass, Measure Measure) {
// if (jobClass != null) {
// if (retrialOrbitJobNumPerClass == null) {
// retrialOrbitJobNumPerClass = new Measure[classNum];
// }
// retrialOrbitJobNumPerClass[jobClass.getId()] = Measure;
// } else {
// retrialOrbitJobNum = Measure;
// }
// }
/**
* Analyzes System Waiting Time for a specific job class or for every class.
* @param jobClass specified job class. If null measure will be job independent.
* @param measure reference to a Measure object.
*/
public void analyzeWaitingTime(JobClass jobClass, Measure measure) {
if (jobClass != null) {
if (waitingTimePerClass == null) {
waitingTimePerClass = new Measure[classNum];
}
waitingTimePerClass[jobClass.getId()] = measure;
} else {
waitingTime = measure;
}
}
// ------------------------------------------------------------------------------------
......@@ -630,42 +597,6 @@ public class GlobalJobInfoList {
}
}
// /**
// * Updates System Job Number measures.
// * @param job current job.
// */
// private void updateRetrialOrbitJobNum(Job job) {
// if (retrialOrbitJobNumPerClass != null) {
// int index = job.getJobClass().getId();
// Measure m = retrialOrbitJobNumPerClass[index];
// if (m != null) {
// m.update(retrialOrbitJobNumPerClass[index], getTime() - lastModifyNumberPerClass[index]);
// }
// }
// if (jobNum != null) {
// jobNum.update(jobs, getTime() - lastModifyNumber);
// }
// }
/**
* Updates System Response Time measures.
* @param job current job.
*/
private void updateWaitingTime(Job job) {
if (waitingTimePerClass != null) {
int index = job.getJobClass().getId();
Measure m = waitingTimePerClass[index];
if (m != null) {
m.update(netSystem.getTime() - job.getSystemEnteringTime(), 1.0);
}
}
if (waitingTime != null) {
waitingTime.update(getTime() - job.getSystemEnteringTime(), 1.0);
}
}
/**
* Updates chain graph.
* @param sourcePair source pair.
......
......@@ -110,15 +110,9 @@ public interface SimConstants {
/** Measure identifier: number of jobs in the retrial orbit of the node */
public static final int RETRIAL_ORBIT_SIZE = 33;
/** Measure identifier: number of jobs in the retrial orbit of the system */
public static final int SYSTEM_NUMBER_OF_JOBS_IN_RETRIAL_ORBIT = 34;
/** Measure identifier: (total) waiting time of a job of a node (system entering time - time when job is pass to serving section) */
public static final int WAITING_TIME = 36;
/** Measure identifier: (total) waiting time of a job of the system (system entering time - time when job is pass to serving section) */
public static final int SYSTEM_WAITING_TIME = 37;
public static final int NUM_BUSY_SERVERS = 39;
......
......@@ -201,8 +201,6 @@ public class DispatcherJSIMschema {
simPaused = false;
simFinished = true;
System.out.println("sim finished: " + this.net.getNodes().get(1));
// Shutdown the simulation timer, if any.
es.shutdownNow();
......
......@@ -76,10 +76,6 @@ public abstract class EngineUtils {
return SimulationDefinition.MEASURE_S_R;
case SimConstants.SYSTEM_POWER:
return SimulationDefinition.MEASURE_S_P;
case SimConstants.SYSTEM_NUMBER_OF_JOBS_IN_RETRIAL_ORBIT:
return SimulationDefinition.MEASURE_S_RS;
case SimConstants.SYSTEM_WAITING_TIME:
return SimulationDefinition.MEASURE_S_WT;
case SimConstants.RESPONSE_TIME_PER_SINK:
return SimulationDefinition.MEASURE_RP_PER_SINK;
case SimConstants.THROUGHPUT_PER_SINK:
......@@ -130,7 +126,7 @@ public abstract class EngineUtils {
return SimConstants.RETRIAL_ORBIT_SIZE;
} else if (type.equals(SimulationDefinition.MEASURE_WT)) {
return SimConstants.WAITING_TIME;
} else if (type.equals(SimulationDefinition.MEASURE_V_BS)) {
} else if (type.equals(SimulationDefinition.MEASURE_BS)) {
return SimConstants.NUM_BUSY_SERVERS;
} else if (type.equals(SimulationDefinition.MEASURE_S_CN)) {
return SimConstants.SYSTEM_NUMBER_OF_JOBS;
......@@ -148,10 +144,6 @@ public abstract class EngineUtils {
return SimConstants.SYSTEM_POWER;
} else if (type.equals(SimulationDefinition.MEASURE_S_R)) {
return SimConstants.SYSTEM_RETRIAL_RATE;
} else if (type.equals(SimulationDefinition.MEASURE_S_RS)) {
return SimConstants.SYSTEM_NUMBER_OF_JOBS_IN_RETRIAL_ORBIT;
} else if (type.equals(SimulationDefinition.MEASURE_S_WT)) {
return SimConstants.SYSTEM_WAITING_TIME;
} else if (type.equals(SimulationDefinition.MEASURE_RP_PER_SINK)) {
return SimConstants.RESPONSE_TIME_PER_SINK;
} else if (type.equals(SimulationDefinition.MEASURE_X_PER_SINK)) {
......
......@@ -228,7 +228,7 @@ public interface MeasureDefinition {
* Returns an array with the measureIndex of every waiting time measure
* @return an array with measures' index
*/
public int[] getNumberOfBusyServersVarianceMeasures();
public int[] getNumberOfBusyServersMeasures();
/**
* Returns an array with the measureIndex of every system customer number measure
......@@ -278,18 +278,6 @@ public interface MeasureDefinition {
*/
public int[] getSystemRetrialRateMeasures();
/**
* Returns an array with the measureIndex of every system retrialOrbit length measure
* @return an array with measures' index
*/
public int[] getSystemRetrialOrbitSizeMeasures();
/**
* Returns an array with the measureIndex of every system waiting time measure
* @return an array with measures' index
*/
public int[] getSystemWaitingTimeMeasures();
/**
* Returns an array with the measureIndex of every response time per sink measure
* @return an array with measures' index
......
......@@ -67,8 +67,6 @@ public class PAResultsModel implements MeasureDefinition {
private Vector<Integer> systemBalkingRate = new Vector<Integer>();
private Vector<Integer> systemPower = new Vector<Integer>();
private Vector<Integer> systemRetrialRate = new Vector<Integer>();
private Vector<Integer> systemWaitingTime = new Vector<Integer>();
private Vector<Integer> systemCustomerNumberInRetrialOrbit = new Vector<Integer>();
private Vector<Integer> responseTimePerSink = new Vector<Integer>();
private Vector<Integer> throughputPerSink = new Vector<Integer>();
private Vector<Integer> FCRTotalWeight = new Vector<Integer>();
......@@ -148,7 +146,7 @@ public class PAResultsModel implements MeasureDefinition {
waitingTime.add(new Integer(i));
} else if (measureType.equals(SimulationDefinition.MEASURE_RS)) {
retrialOrbitSize.add(new Integer(i));
} else if (measureType.equals(SimulationDefinition.MEASURE_V_BS)) {
} else if (measureType.equals(SimulationDefinition.MEASURE_BS)) {
busyServersVar.add(new Integer(i));
} else if (measureType.equals(SimulationDefinition.MEASURE_S_CN)) {
systemCustomerNumber.add(new Integer(i));
......@@ -166,10 +164,6 @@ public class PAResultsModel implements MeasureDefinition {
systemPower.add(new Integer(i));
} else if (measureType.equals(SimulationDefinition.MEASURE_S_R)) {
systemRetrialRate.add(new Integer(i));
} else if (measureType.equals(SimulationDefinition.MEASURE_S_WT)) {
systemWaitingTime.add(new Integer(i));
} else if (measureType.equals(SimulationDefinition.MEASURE_S_RS)) {
systemCustomerNumberInRetrialOrbit.add(new Integer(i));
} else if (measureType.equals(SimulationDefinition.MEASURE_RP_PER_SINK)) {
responseTimePerSink.add(new Integer(i));
} else if (measureType.equals(SimulationDefinition.MEASURE_X_PER_SINK)) {
......@@ -237,7 +231,7 @@ public class PAResultsModel implements MeasureDefinition {
waitingTime.add(new Integer(measures.size() - 1));
} else if (type.equals(SimulationDefinition.MEASURE_RS)) {
retrialOrbitSize.add(new Integer(measures.size() - 1));
} else if (type.equals(SimulationDefinition.MEASURE_V_BS)) {
} else if (type.equals(SimulationDefinition.MEASURE_BS)) {
busyServersVar.add(new Integer(measures.size() - 1));
} else if (type.equals(SimulationDefinition.MEASURE_S_CN)) {
systemCustomerNumber.add(new Integer(measures.size() - 1));
......@@ -255,10 +249,6 @@ public class PAResultsModel implements MeasureDefinition {
systemPower.add(new Integer(measures.size() - 1));
} else if (type.equals(SimulationDefinition.MEASURE_S_R)) {
systemRetrialRate.add(new Integer(measures.size() - 1));
} else if (type.equals(SimulationDefinition.MEASURE_S_WT)) {
systemWaitingTime.add(new Integer(measures.size() - 1));
} else if (type.equals(SimulationDefinition.MEASURE_S_RS)) {
systemCustomerNumberInRetrialOrbit.add(new Integer(measures.size() - 1));
} else if (type.equals(SimulationDefinition.MEASURE_RP_PER_SINK)) {
responseTimePerSink.add(new Integer(measures.size() - 1));
} else if (type.equals(SimulationDefinition.MEASURE_X_PER_SINK)) {
......@@ -535,12 +525,13 @@ public class PAResultsModel implements MeasureDefinition {
}
@Override
public int[] getNumberOfBusyServersVarianceMeasures() {
public int[] getNumberOfBusyServersMeasures() {
int[] tmp = new int[busyServersVar.size()];
for (int i = 0; i < tmp.length; i++) {
tmp[i] = busyServersVar.get(i).intValue();
}
return tmp; }
return tmp;
}
/**
* Returns an array with the measureIndex of every system customer number measure
......@@ -638,24 +629,6 @@ public class PAResultsModel implements MeasureDefinition {
}
return tmp; }
@Override
public int[] getSystemRetrialOrbitSizeMeasures() {
int[] tmp = new int[systemCustomerNumberInRetrialOrbit.size()];
for (int i = 0; i < tmp.length; i++) {
tmp[i] = systemCustomerNumberInRetrialOrbit.get(i).intValue();
}
return tmp;
}
@Override
public int[] getSystemWaitingTimeMeasures() {
int[] tmp = new int[systemWaitingTime.size()];
for (int i = 0; i < tmp.length; i++) {
tmp[i] = systemWaitingTime.get(i).intValue();
}
return tmp;
}
/**
* Returns an array with the measureIndex of every response time per sink measure
* @return an array with measures' index
......
......@@ -140,7 +140,7 @@ public class ResultsModel implements MeasureDefinition {
waitingTime.add(new Integer(i));
} else if (type.equals(SimulationDefinition.MEASURE_RS)) {
retrialOrbitSize.add(new Integer(i));
} else if (type.equals(SimulationDefinition.MEASURE_V_BS)) {
} else if (type.equals(SimulationDefinition.MEASURE_BS)) {
busyServerVar.add(new Integer(i));
} else if (type.equals(SimulationDefinition.MEASURE_S_CN)) {
systemCustomerNumber.add(new Integer(i));
......@@ -510,7 +510,7 @@ public class ResultsModel implements MeasureDefinition {
return tmp; }
@Override
public int[] getNumberOfBusyServersVarianceMeasures() {
public int[] getNumberOfBusyServersMeasures() {
int[] tmp = new int[busyServerVar.size()];
for (int i = 0; i < tmp.length; i++) {
tmp[i] = busyServerVar.get(i).intValue();
......@@ -615,16 +615,6 @@ public class ResultsModel implements MeasureDefinition {
return tmp;
}
@Override
public int[] getSystemRetrialOrbitSizeMeasures() {
return new int[0];
}
@Override
public int[] getSystemWaitingTimeMeasures() {
return new int[0];
}
/**
* Returns an array with the measureIndex of every response time per sink measure
......
......@@ -73,15 +73,10 @@ public interface SimulationDefinition {
public static final String MEASURE_WT = "Waiting Time";
/**Code for retrial orbit size measure*/
public static final String MEASURE_RS = "Retrial Orbit Size";
/**Code for number of busy servers measure -- not displayed in JSIMgraph UI */
public static final String MEASURE_BS = "Number of busy servers";
public static final String MEASURE_V_BS = "Number of busy servers";
/**Code for system waiting time measure*/
public static final String MEASURE_S_WT = "Waiting Time";
/**Code for system retrial orbit size measure*/
public static final String MEASURE_S_RS = "System Retrial Orbit Size";
/**Code for number of system retrial number measure*/
public static final String MEASURE_S_R = "System Retrial Rate";
/**Code for system reneging rate measure*/
......
......@@ -67,8 +67,6 @@ public class StoredResultsModel implements MeasureDefinition {
private Vector<Integer> systemBalkingRate = new Vector<Integer>();
private Vector<Integer> systemPower = new Vector<Integer>();
private Vector<Integer> systemRetrialRate = new Vector<Integer>();
private Vector<Integer> systemWaitingTime = new Vector<Integer>();
private Vector<Integer> systemCustomerNumberInRetrialOrbit = new Vector<Integer>();
private Vector<Integer> responseTimePerSink = new Vector<Integer>();
private Vector<Integer> throughputPerSink = new Vector<Integer>();
private Vector<Integer> FCRTotalWeight = new Vector<Integer>();
......@@ -341,7 +339,7 @@ public class StoredResultsModel implements MeasureDefinition {
}
@Override
public int[] getNumberOfBusyServersVarianceMeasures() {
public int[] getNumberOfBusyServersMeasures() {
int[] tmp = new int[busyServersNum.size()];
for (int i = 0; i < tmp.length; i++) {
tmp[i] = busyServersNum.get(i).intValue();
......@@ -442,24 +440,6 @@ public class StoredResultsModel implements MeasureDefinition {
return tmp;
}
@Override
public int[] getSystemRetrialOrbitSizeMeasures() {
int[] tmp = new int[systemCustomerNumberInRetrialOrbit.size()];
for (int i = 0; i < tmp.length; i++) {
tmp[i] = systemCustomerNumberInRetrialOrbit.get(i).intValue();
}
return tmp;
}
@Override
public int[] getSystemWaitingTimeMeasures() {
int[] tmp = new int[systemWaitingTime.size()];
for (int i = 0; i < tmp.length; i++) {
tmp[i] = systemWaitingTime.get(i).intValue();
}
return tmp;
}
/**
* Returns an array with the measureIndex of every response time per sink measure
* @return an array with measures' index
......@@ -637,7 +617,7 @@ public class StoredResultsModel implements MeasureDefinition {
retrialOrbitSize.add(new Integer(measures.size() - 1));
} else if (type.equals(SimulationDefinition.MEASURE_WT)) {
waitingTime.add(new Integer(measures.size() - 1));
} else if (type.equals(SimulationDefinition.MEASURE_V_BS)) {
} else if (type.equals(SimulationDefinition.MEASURE_BS)) {
busyServersNum.add(new Integer(measures.size() - 1));
} else if (type.equals(SimulationDefinition.MEASURE_S_CN)) {
systemCustomerNumber.add(new Integer(measures.size() - 1));
......@@ -655,10 +635,6 @@ public class StoredResultsModel implements MeasureDefinition {
systemPower.add(new Integer(measures.size() - 1));
} else if (type.equals(SimulationDefinition.MEASURE_S_R)) {
systemRetrialRate.add(new Integer(measures.size() - 1));
} else if (type.equals(SimulationDefinition.MEASURE_S_RS)) {
systemCustomerNumberInRetrialOrbit.add(new Integer(measures.size() - 1));
} else if (type.equals(SimulationDefinition.MEASURE_S_WT)) {
systemWaitingTime.add(new Integer(measures.size() - 1));
} else if (type.equals(SimulationDefinition.MEASURE_RP_PER_SINK)) {
responseTimePerSink.add(new Integer(measures.size() - 1));
} else if (type.equals(SimulationDefinition.MEASURE_X_PER_SINK)) {
......
......@@ -135,7 +135,7 @@ public class MeasurePanel extends WizardPanel implements CommonConstants {
SimulationDefinition.MEASURE_R,
SimulationDefinition.MEASURE_WT,
SimulationDefinition.MEASURE_RS,
SimulationDefinition.MEASURE_V_BS,
// SimulationDefinition.MEASURE_V_BS,
SimulationDefinition.MEASURE_RP_PER_SINK,
SimulationDefinition.MEASURE_X_PER_SINK,
......@@ -362,7 +362,6 @@ public class MeasurePanel extends WizardPanel implements CommonConstants {
return;
}
Measure measure = getImplicitMeasure(null, (String) measureSelection.getSelectedItem(), null, null);
// TODO rosemary: figure out the difference
// simData.addMeasure(measure.type, measure.stationKey, measure.classKey);
simData.addMeasure((String) measureSelection.getSelectedItem(), null, null);
measureTable.tableChanged(new TableModelEvent(measureTable.getModel()));
......@@ -431,7 +430,7 @@ public class MeasurePanel extends WizardPanel implements CommonConstants {
|| measure.type.equals(SimulationDefinition.MEASURE_U)
|| measure.type.equals(SimulationDefinition.MEASURE_WT)
|| measure.type.equals(SimulationDefinition.MEASURE_RS)
|| measure.type.equals(SimulationDefinition.MEASURE_V_BS)
// || measure.type.equals(SimulationDefinition.MEASURE_V_BS)
) {
return stationsCombos.getEditor(stationData.getStationRegionKeysNoSourceSink());
} else if (measure.type.equals(SimulationDefinition.MEASURE_X)) {
......@@ -634,7 +633,6 @@ public class MeasurePanel extends WizardPanel implements CommonConstants {
|| type.equals(SimulationDefinition.MEASURE_R)
|| type.equals(SimulationDefinition.MEASURE_WT)
|| type.equals(SimulationDefinition.MEASURE_RS)
|| type.equals(SimulationDefinition.MEASURE_V_BS)
) {
if (stationKey != null && stationKey.equals("")) {
return new Measure(getSystemMeasureType(type), null, classKey);
......
......@@ -156,7 +156,8 @@ public class ResultsWindow extends JMTFrame implements ResultsConstants {
addTabPane(mainPanel, SimulationDefinition.MEASURE_R, DESCRIPTION_RETRIAL_RATE, results.getRetrialRateMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_WT, DESCRIPTION_WAITING_TIME, results.getWaitingTimeMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_RS, DESCRIPTION_RETRIAL_ORBIT_SIZE, results.getRetrialOrbitSizeMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_V_BS, DESCRIPTION_BUSY_SERVER_NUMBER, results.getNumberOfBusyServersVarianceMeasures());
// addTabPane(mainPanel, SimulationDefinition.MEASURE_BS, DESCRIPTION_BUSY_SERVER_NUMBER, results.getNumberOfBusyServersMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_S_CN, DESCRIPTION_SYSTEM_CUSTOMER_NUMBER, results.getSystemCustomerNumberMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_S_RP, DESCRIPTION_SYSTEM_RESPONSE_TIME, results.getSystemResponseTimeMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_S_X, DESCRIPTION_SYSTEM_THROUGHPUT, results.getSystemThroughputMeasures());
......@@ -165,8 +166,6 @@ public class ResultsWindow extends JMTFrame implements ResultsConstants {
addTabPane(mainPanel, SimulationDefinition.MEASURE_S_BR, DESCRIPTION_SYSTEM_BALKING_RATE, results.getSystemBalkingRateMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_S_P, DESCRIPTION_SYSTEM_POWER, results.getSystemPowerMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_S_R, DESCRIPTION_SYSTEM_RETRIAL_RATE, results.getSystemRetrialRateMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_S_WT, DESCRIPTION_SYSTEM_SYSTEM_WAITING_TIME, results.getSystemWaitingTimeMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_S_RS, DESCRIPTION_SYSTEM_NUMBER_OF_JOBS_IN_RETRIAL_ORBIT, results.getSystemRetrialOrbitSizeMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_RP_PER_SINK, DESCRIPTION_RESPONSE_TIME_PER_SINK, results.getResponsetimePerSinkMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_X_PER_SINK, DESCRIPTION_THROUGHPUT_PER_SINK, results.getThroughputPerSinkMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_FCR_TW, DESCRIPTION_FCR_TOTAL_WEIGHT, results.getFCRTotalWeightMeasures());
......
......@@ -163,7 +163,7 @@ public class PAResultsWindow extends JMTFrame implements ResultsConstants, Param
addTabPane(mainPanel, SimulationDefinition.MEASURE_R, DESCRIPTION_RETRIAL_RATE, results.getRetrialRateMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_WT, DESCRIPTION_WAITING_TIME, results.getWaitingTimeMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_RS, DESCRIPTION_RETRIAL_ORBIT_SIZE, results.getRetrialOrbitSizeMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_V_BS, DESCRIPTION_BUSY_SERVER_NUMBER, results.getNumberOfBusyServersVarianceMeasures());
// addTabPane(mainPanel, SimulationDefinition.MEASURE_BS, DESCRIPTION_BUSY_SERVER_NUMBER, results.getNumberOfBusyServersMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_S_CN, DESCRIPTION_SYSTEM_CUSTOMER_NUMBER, results.getSystemCustomerNumberMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_S_RP, DESCRIPTION_SYSTEM_RESPONSE_TIME, results.getSystemResponseTimeMeasures());
......@@ -173,8 +173,6 @@ public class PAResultsWindow extends JMTFrame implements ResultsConstants, Param
addTabPane(mainPanel, SimulationDefinition.MEASURE_S_RR, DESCRIPTION_SYSTEM_RENEGING_RATE, results.getSystemRenegingRateMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_S_P, DESCRIPTION_SYSTEM_POWER, results.getSystemPowerMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_S_R, DESCRIPTION_SYSTEM_RETRIAL_RATE, results.getSystemRetrialRateMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_S_WT, DESCRIPTION_SYSTEM_SYSTEM_WAITING_TIME, results.getSystemWaitingTimeMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_S_RS, DESCRIPTION_SYSTEM_NUMBER_OF_JOBS_IN_RETRIAL_ORBIT, results.getSystemRetrialOrbitSizeMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_RP_PER_SINK, DESCRIPTION_RESPONSE_TIME_PER_SINK, results.getResponsetimePerSinkMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_X_PER_SINK, DESCRIPTION_THROUGHPUT_PER_SINK, results.getThroughputPerSinkMeasures());
addTabPane(mainPanel, SimulationDefinition.MEASURE_FCR_TW, DESCRIPTION_FCR_TOTAL_WEIGHT, results.getFCRTotalWeightMeasures());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment