Пример #1
0
 @Override
 public long getThreadId() {
   // We add this constant offset to make sure it doesn't overlap with the system threadIds thus
   // looking nicer in the Chrome Tracing viewer.
   return node.getThreadId() + THREAD_ID_OFFSET;
 }
Пример #2
0
 public BuildTarget getTarget() {
   return node.getTarget();
 }
Пример #3
0
 private SimulateEvent(BuildSimulator.SimulationNode node, long simulationMillis) {
   super(EventKey.slowValueKey(node.getTarget()));
   this.node = node;
   this.simulationMillis = simulationMillis;
 }