Commit fa45ce0a authored by Marc Schiller's avatar Marc Schiller
Browse files

Added SegmentID to Visualization.

parent dac434ff
......@@ -125,10 +125,6 @@ public class ModelFiveGVisualization extends JComponent implements Visualization
continue;
}
System.out.println(entry.getLatency(isUpload));
System.out.println(entry.getDropProbability(isUpload));
System.out.println(entry.getBandwidth(isUpload));
// TODO add checkbox for upload/download toggle?
// Latency
......@@ -152,9 +148,10 @@ public class ModelFiveGVisualization extends JComponent implements Visualization
"D: " + (int) (entry.getDropProbability(isUpload) * 100)
+ " %",
x + 10, y + 25);
g2.drawString("BW: "
g2.drawString("B: "
+ (int) (entry.getBandwidth(isUpload) / Rate.kbit_s)
+ " kBit/s", x + 10, y + 35);
g2.drawString("S: " + entry.getSegmentID(), x + 10, y + 45);
if(!entry.isAvailable()) {
g2.drawString("!DEAD!", x + 30, y + 70);
}
......
Markdown is supported
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