コード例 #1
0
ファイル: SimulateEvent.java プロジェクト: TheoLassonder/buck
 @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
ファイル: SimulateEvent.java プロジェクト: TheoLassonder/buck
 public BuildTarget getTarget() {
   return node.getTarget();
 }
コード例 #3
0
ファイル: SimulateEvent.java プロジェクト: TheoLassonder/buck
 private SimulateEvent(BuildSimulator.SimulationNode node, long simulationMillis) {
   super(EventKey.slowValueKey(node.getTarget()));
   this.node = node;
   this.simulationMillis = simulationMillis;
 }