begin static method

int begin()

Timestamp in microseconds, or 0 when disabled. Pair with end.

Implementation

@pragma('vm:prefer-inline')
@pragma('dart2js:tryInline')
static int begin() {
  if (!kPdfPerfCompiledIn || !_enabled) return 0;
  return _clock!.elapsedMicroseconds;
}