Skip to content
Snippets Groups Projects
Commit 9f8f18f3 authored by Letitia Li's avatar Letitia Li
Browse files

corrected latency measurements

parent bf38b8da
No related branches found
No related tags found
1 merge request!79Corrected latency measurements
......@@ -1528,8 +1528,8 @@ public class JFrameAvatarInteractiveSimulation extends JFrame implements AvatarS
}
}
if (transTimes.containsKey(key)) {
if (!transTimes.get(key).contains(Long.toString(trans.initialClockValue))) {
transTimes.get(key).add(Long.toString(trans.initialClockValue));
if (!transTimes.get(key).contains(Long.toString(trans.clockValueWhenFinished))) {
transTimes.get(key).add(Long.toString(trans.clockValueWhenFinished));
}
}
}
......@@ -1550,7 +1550,7 @@ public class JFrameAvatarInteractiveSimulation extends JFrame implements AvatarS
sl.setTransaction1(st1);
sl.setTransaction2(st2);*/
for (String time1 : transTimes.get(st1)) {
String match = "";
//Find the first subsequent transaction
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment