content: package kotlin.system;
  
  import kotlin.Metadata;
  import kotlin.Unit;
  import kotlin.jvm.functions.Function0;
  import kotlin.jvm.internal.Intrinsics;
  
  @Metadata(d1 = {"\u0000\u0014\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\u001a'\u0010\u0000\u001a\u00020\u00012\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003H\bø\u0001\u0000\u0002\n\n\b\b\u0001\u0012\u0002\u0010\u0001 \u0001\u001a'\u0010\u0005\u001a\u00020\u00012\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003H\bø\u0001\u0000\u0002\n\n\b\b\u0001\u0012\u0002\u0010\u0001 \u0001\u0002\u0007\n\u0005\b20\u0001¨\u0006\u0006"}, d2 = {"measureNanoTime", "", "block", "Lkotlin/Function0;", "", "measureTimeMillis", "kotlin-stdlib"}, k = 2, mv = {1, 7, 1}, xi = 48)
  /* compiled from: Timing.kt */
  public final class TimingKt {
      public static final long measureNanoTime(Function0<Unit> block) {
          Intrinsics.checkNotNullParameter(block, "block");
          long nanoTime = System.nanoTime();
          block.invoke();
          return System.nanoTime() - nanoTime;
      }
  
      public static final long measureTimeMillis(Function0<Unit> block) {
          Intrinsics.checkNotNullParameter(block, "block");
          long currentTimeMillis = System.currentTimeMillis();
          block.invoke();
          return System.currentTimeMillis() - currentTimeMillis;
      }
  }
  