if (startCycle != -1) { totalCycles += now - startCycle; }
totalCycles += now - startCycle;
  void endQuantum(long now) {    // primordial thread: ignore first time slice when startCycle == -1    if (startCycle != -1) {      totalCycles += now - startCycle;    }    startCycle = 0;  }