d.smali

.class public final Lcom/bumptech/glide/g/d;
.super Ljava/lang/Object;
.source "LogTime.java"


# static fields
.field private static final JU:D


# direct methods
.method static constructor <clinit>()V
    .registers 6

    .prologue
    const-wide/high16 v0, 0x3ff0000000000000L    # 1.0

    .line 11
    const/16 v2, 0x11

    sget v3, Landroid/os/Build$VERSION;->SDK_INT:I

    if-gt v2, v3, :cond_11

    const-wide/high16 v2, 0x4024000000000000L    # 10.0

    const-wide/high16 v4, 0x4018000000000000L    # 6.0

    invoke-static {v2, v3, v4, v5}, Ljava/lang/Math;->pow(DD)D

    move-result-wide v2

    div-double/2addr v0, v2

    :cond_11
    sput-wide v0, Lcom/bumptech/glide/g/d;->JU:D

    return-void
.end method

.method public static e(J)D
    .registers 6

    .prologue
    .line 37
    invoke-static {}, Lcom/bumptech/glide/g/d;->eK()J

    move-result-wide v0

    sub-long/2addr v0, p0

    long-to-double v0, v0

    sget-wide v2, Lcom/bumptech/glide/g/d;->JU:D

    mul-double/2addr v0, v2

    return-wide v0
.end method

.method public static eK()J
    .registers 2
    .annotation build Landroid/annotation/TargetApi;
        value = 0x11
    .end annotation

    .prologue
    .line 24
    const/16 v0, 0x11

    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    if-gt v0, v1, :cond_b

    .line 25
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtimeNanos()J

    move-result-wide v0

    .line 27
    :goto_a
    return-wide v0

    :cond_b
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    goto :goto_a
.end method