Rabbit-R1/switch port/smali/smali_classes3/kotlin/system/TimingKt.smali
2024-05-21 17:08:36 -04:00

95 lines
2.6 KiB
Smali

.class public final Lkotlin/system/TimingKt;
.super Ljava/lang/Object;
.source "Timing.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000\u0014\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\u0008\u0002\u001a\'\u0010\u0000\u001a\u00020\u00012\u000c\u0010\u0002\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u0003H\u0086\u0008\u00f8\u0001\u0000\u0082\u0002\n\n\u0008\u0008\u0001\u0012\u0002\u0010\u0001 \u0001\u001a\'\u0010\u0005\u001a\u00020\u00012\u000c\u0010\u0002\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u0003H\u0086\u0008\u00f8\u0001\u0000\u0082\u0002\n\n\u0008\u0008\u0001\u0012\u0002\u0010\u0001 \u0001\u0082\u0002\u0007\n\u0005\u0008\u009920\u0001\u00a8\u0006\u0006"
}
d2 = {
"measureNanoTime",
"",
"block",
"Lkotlin/Function0;",
"",
"measureTimeMillis",
"kotlin-stdlib"
}
k = 0x2
mv = {
0x1,
0x9,
0x0
}
xi = 0x30
.end annotation
# direct methods
.method public static final measureNanoTime(Lkotlin/jvm/functions/Function0;)J
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
">;)J"
}
.end annotation
const-string v0, "block"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 34
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v0
.line 35
invoke-interface {p0}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
.line 36
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v2
sub-long/2addr v2, v0
return-wide v2
.end method
.method public static final measureTimeMillis(Lkotlin/jvm/functions/Function0;)J
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
">;)J"
}
.end annotation
const-string v0, "block"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 20
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
.line 21
invoke-interface {p0}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
.line 22
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v2
sub-long/2addr v2, v0
return-wide v2
.end method