dwellMs method

int dwellMs()

Foreground-visible time since start, including the current visible stretch.

Implementation

int dwellMs() {
  if (!_started) return 0;
  return _dwellTotalMs + (_foreground ? _clock() - _visibleSinceMs : 0);
}