[Desc.]
[Issue]
Change-Id: I0ff335a78caca7d26550d161f9da44354bbe3ec5
.settings/,\\r
.project,\\r
.classpath,\\r
- lib/org.eclipse.nebula.widgets.grid_1.0.0.jar,\\r
- lib/hsqldb.jar,\\r
- lib/json-simple-1.1.1.jar,\\r
- lib/protobuf.jar\r
+ lib/\r
}
public static int getRemotePort(IDevice device) {
- int count = 0;
int remotePort = -1;
// add error check
System.out.print("Getting Port Progress \n ");
- while (count < PORT_WAIT_TIME) {
+ long start = System.currentTimeMillis();
+ while ((System.currentTimeMillis() - start) < PORT_WAIT_TIME) {
try {
execShellCommand(device,
AnalyzerShellCommands.CMD_CAT_PORT_FILE,
System.out.print("=");
}
}
- count++;
Thread.sleep(10);
} catch (InterruptedException e) {
// e.printStackTrace();
cpuNum = ByteUtils.toInt(data, index);
index += INT_SIZE;
ArgsInfo info = LogDataUtils.parseArgs(data, index);
- args = info.getProfileArgs();
+ args = info.getArgs();
index = info.getLastIndex();
break;
case MSG_FUNCTION_EXIT:
queriedLogData = null;
queriedObjectData = null;
totalItemCount = 0;
+ previousItemCount = -1;
}
@Override