this.ctfTmfTrace = trace;
if (this.hasMoreEvents()) {
this.curLocation = new CtfLocation(ctfLocationData);
- if (this.getCurrentEvent().getTimestampValue() != ctfLocationData.getTimestamp()) {
+ if (this.getCurrentEvent().getTimestamp().getValue() != ctfLocationData.getTimestamp()) {
this.seek(ctfLocationData);
this.curRank = rank;
}
*/
long index = 0;
if (this.getCurrentEvent() != null) {
- currTimestamp = this.getCurrentEvent().getTimestampValue();
+ currTimestamp = this.getCurrentEvent().getTimestamp().getValue();
for (long i = 0; i < ctfLocationData.getIndex(); i++) {
- if (currTimestamp == this.getCurrentEvent().getTimestampValue()) {
+ if (currTimestamp == this.getCurrentEvent().getTimestamp().getValue()) {
index++;
} else {
index = 0;
}
/* Seek the current location accordingly */
if (ret) {
- curLocation.setLocation(new CtfLocationData(getCurrentEvent().getTimestampValue(), index));
+ curLocation.setLocation(new CtfLocationData(getCurrentEvent().getTimestamp().getValue(), index));
} else {
curLocation = NULL_LOCATION;
}
boolean ret = super.advance();
if (ret) {
- final long timestampValue = getCurrentEvent().getTimestampValue();
+ final long timestampValue = getCurrentEvent().getTimestamp().getValue();
if (timestamp == timestampValue) {
curLocation.setLocation(timestampValue, index + 1);
} else {