getTimestamp function

int getTimestamp()

Gets unique timestamp for now (microsecondsSinceEpoch)

Implementation

int getTimestamp() {
  final i = _swBegins + _sw.elapsedMicroseconds;
  if (_swLast >= i) return ++_swLast;
  return _swLast = i;
}