ThreadStatistics$ThreadCostItem.smali

.class Lcom/cm/plugincluster/aspectj/ThreadStatistics$ThreadCostItem;
.super Ljava/lang/Object;
.source "ThreadStatistics.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/cm/plugincluster/aspectj/ThreadStatistics;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "ThreadCostItem"
.end annotation


# instance fields
.field count:J

.field cpuTime:D

.field func:Ljava/lang/String;

.field sourceLocation:Ljava/lang/String;

.field time:D


# direct methods
.method private constructor <init>()V
    .registers 1

    .prologue
    .line 111
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/cm/plugincluster/aspectj/ThreadStatistics$1;)V
    .registers 2

    .prologue
    .line 111
    invoke-direct {p0}, Lcom/cm/plugincluster/aspectj/ThreadStatistics$ThreadCostItem;-><init>()V

    return-void
.end method


# virtual methods
.method public toString()Ljava/lang/String;
    .registers 7

    .prologue
    .line 120
    sget-object v0, Ljava/util/Locale;->CHINA:Ljava/util/Locale;

    const-string v1, "[%s][%s] count:%d cost:%.3fms cpu:%.3fms"

    const/4 v2, 0x5

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    iget-object v4, p0, Lcom/cm/plugincluster/aspectj/ThreadStatistics$ThreadCostItem;->sourceLocation:Ljava/lang/String;

    aput-object v4, v2, v3

    const/4 v3, 0x1

    iget-object v4, p0, Lcom/cm/plugincluster/aspectj/ThreadStatistics$ThreadCostItem;->func:Ljava/lang/String;

    aput-object v4, v2, v3

    const/4 v3, 0x2

    iget-wide v4, p0, Lcom/cm/plugincluster/aspectj/ThreadStatistics$ThreadCostItem;->count:J

    invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v4

    aput-object v4, v2, v3

    const/4 v3, 0x3

    iget-wide v4, p0, Lcom/cm/plugincluster/aspectj/ThreadStatistics$ThreadCostItem;->time:D

    invoke-static {v4, v5}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v4

    aput-object v4, v2, v3

    const/4 v3, 0x4

    iget-wide v4, p0, Lcom/cm/plugincluster/aspectj/ThreadStatistics$ThreadCostItem;->cpuTime:D

    invoke-static {v4, v5}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-static {v0, v1, v2}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method