public int executeCommand(CommandContext context) {
String event1 = context.getArgument(0);
String event2 = context.getArgument(1);
String chip1[] = event1.split("\\.");
String chip2[] = event2.split("\\.");
Chip chipE1 = cpu.getChip(chip1[0]);
if (chipE1 == null) {
context.err.println("Can not find chip: " + chip1[0]);
return 1;
}
Chip chipE2 = cpu.getChip(chip2[0]);
if (chipE2 == null) {
context.err.println("Can not find chip: " + chip2[0]);
return 1;
}
Profiler profiler = cpu.getProfiler();