long loc = 0;
long rank = 0;
if (location != null) {
- loc = (Long) location.getLocationData();
+ loc = (Long) location.getLocationInfo();
rank = ITmfContext.UNKNOWN_RANK;
}
if (loc != fTrace.getFilePointer()) {
fLock.lock();
try {
if (fTrace != null) {
- if (location.getLocationData() instanceof Long) {
- return (double) ((Long) location.getLocationData()) / fTrace.length();
+ if (location.getLocationInfo() instanceof Long) {
+ return (double) ((Long) location.getLocationInfo()) / fTrace.length();
}
}
} catch (final IOException e) {