.class Lcom/glu/plugins/gluanalytics/GluPerformance$SampleTask; .super Ljava/lang/Object; .source "SourceFile" # interfaces .implements Ljava/lang/Runnable; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/glu/plugins/gluanalytics/GluPerformance; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1 name = "SampleTask" .end annotation # instance fields .field final synthetic this$0:Lcom/glu/plugins/gluanalytics/GluPerformance; # direct methods .method public constructor (Lcom/glu/plugins/gluanalytics/GluPerformance;)V .locals 0 iput-object p1, p0, Lcom/glu/plugins/gluanalytics/GluPerformance$SampleTask;->this$0:Lcom/glu/plugins/gluanalytics/GluPerformance; .line 410 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public run()V .locals 11 iget-object v0, p0, Lcom/glu/plugins/gluanalytics/GluPerformance$SampleTask;->this$0:Lcom/glu/plugins/gluanalytics/GluPerformance; .line 414 invoke-static {v0}, Lcom/glu/plugins/gluanalytics/GluPerformance;->access$700(Lcom/glu/plugins/gluanalytics/GluPerformance;)Ljava/lang/Object; move-result-object v0 monitor-enter v0 :try_start_0 iget-object v1, p0, Lcom/glu/plugins/gluanalytics/GluPerformance$SampleTask;->this$0:Lcom/glu/plugins/gluanalytics/GluPerformance; .line 415 invoke-static {v1}, Lcom/glu/plugins/gluanalytics/GluPerformance;->access$800(Lcom/glu/plugins/gluanalytics/GluPerformance;)Ljava/util/HashMap; move-result-object v1 invoke-virtual {v1}, Ljava/util/HashMap;->size()I move-result v1 if-eqz v1, :cond_6 iget-object v1, p0, Lcom/glu/plugins/gluanalytics/GluPerformance$SampleTask;->this$0:Lcom/glu/plugins/gluanalytics/GluPerformance; invoke-static {v1}, Lcom/glu/plugins/gluanalytics/GluPerformance;->access$900(Lcom/glu/plugins/gluanalytics/GluPerformance;)Z move-result v1 if-nez v1, :cond_0 goto/16 :goto_3 .line 418 :cond_0 monitor-exit v0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_1 iget-object v0, p0, Lcom/glu/plugins/gluanalytics/GluPerformance$SampleTask;->this$0:Lcom/glu/plugins/gluanalytics/GluPerformance; .line 421 invoke-static {v0}, Lcom/glu/plugins/gluanalytics/GluPerformance;->access$1000(Lcom/glu/plugins/gluanalytics/GluPerformance;)D move-result-wide v0 iget-object v2, p0, Lcom/glu/plugins/gluanalytics/GluPerformance$SampleTask;->this$0:Lcom/glu/plugins/gluanalytics/GluPerformance; .line 423 invoke-static {v2}, Lcom/glu/plugins/gluanalytics/GluPerformance;->access$600(Lcom/glu/plugins/gluanalytics/GluPerformance;)D move-result-wide v2 iget-object v4, p0, Lcom/glu/plugins/gluanalytics/GluPerformance$SampleTask;->this$0:Lcom/glu/plugins/gluanalytics/GluPerformance; invoke-static {v4}, Lcom/glu/plugins/gluanalytics/GluPerformance;->access$1100(Lcom/glu/plugins/gluanalytics/GluPerformance;)D move-result-wide v4 invoke-static {v2, v3, v4, v5}, Ljava/lang/Math;->min(DD)D move-result-wide v2 iget-object v4, p0, Lcom/glu/plugins/gluanalytics/GluPerformance$SampleTask;->this$0:Lcom/glu/plugins/gluanalytics/GluPerformance; .line 425 invoke-static {v4}, Lcom/glu/plugins/gluanalytics/GluPerformance;->access$700(Lcom/glu/plugins/gluanalytics/GluPerformance;)Ljava/lang/Object; move-result-object v4 monitor-enter v4 :try_start_1 iget-object v5, p0, Lcom/glu/plugins/gluanalytics/GluPerformance$SampleTask;->this$0:Lcom/glu/plugins/gluanalytics/GluPerformance; .line 426 invoke-static {v5}, Lcom/glu/plugins/gluanalytics/GluPerformance;->access$800(Lcom/glu/plugins/gluanalytics/GluPerformance;)Ljava/util/HashMap; move-result-object v5 invoke-virtual {v5}, Ljava/util/HashMap;->values()Ljava/util/Collection; move-result-object v5 invoke-interface {v5}, Ljava/util/Collection;->iterator()Ljava/util/Iterator; move-result-object v5 :cond_1 :goto_0 invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z move-result v6 if-eqz v6, :cond_5 invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v6 check-cast v6, Lcom/glu/plugins/gluanalytics/GluPerformance$PerfSample; .line 427 iget-boolean v7, v6, Lcom/glu/plugins/gluanalytics/GluPerformance$PerfSample;->isPaused:Z if-eqz v7, :cond_2 goto :goto_0 .line 430 :cond_2 iget-wide v7, v6, Lcom/glu/plugins/gluanalytics/GluPerformance$PerfSample;->sampleCount:J const-wide/16 v9, 0x1 add-long/2addr v7, v9 iput-wide v7, v6, Lcom/glu/plugins/gluanalytics/GluPerformance$PerfSample;->sampleCount:J .line 432 iget v7, v6, Lcom/glu/plugins/gluanalytics/GluPerformance$PerfSample;->type:I and-int/lit8 v8, v7, 0x2 if-eqz v8, :cond_3 .line 433 iget-wide v8, v6, Lcom/glu/plugins/gluanalytics/GluPerformance$PerfSample;->totalMemory:D add-double/2addr v8, v0 iput-wide v8, v6, Lcom/glu/plugins/gluanalytics/GluPerformance$PerfSample;->totalMemory:D .line 434 iget-wide v8, v6, Lcom/glu/plugins/gluanalytics/GluPerformance$PerfSample;->maxMemory:D cmpg-double v8, v8, v0 if-gez v8, :cond_3 .line 435 iput-wide v0, v6, Lcom/glu/plugins/gluanalytics/GluPerformance$PerfSample;->maxMemory:D goto :goto_1 :catchall_0 move-exception v0 goto :goto_2 :cond_3 :goto_1 and-int/lit8 v7, v7, 0x4 if-eqz v7, :cond_1 .line 439 iget-wide v7, v6, Lcom/glu/plugins/gluanalytics/GluPerformance$PerfSample;->totalFPS:D add-double/2addr v7, v2 iput-wide v7, v6, Lcom/glu/plugins/gluanalytics/GluPerformance$PerfSample;->totalFPS:D .line 440 iput-wide v2, v6, Lcom/glu/plugins/gluanalytics/GluPerformance$PerfSample;->lastFPS:D .line 441 iget-wide v7, v6, Lcom/glu/plugins/gluanalytics/GluPerformance$PerfSample;->minFPS:D cmpl-double v7, v7, v2 if-lez v7, :cond_4 .line 442 iput-wide v2, v6, Lcom/glu/plugins/gluanalytics/GluPerformance$PerfSample;->minFPS:D .line 443 :cond_4 iget-wide v7, v6, Lcom/glu/plugins/gluanalytics/GluPerformance$PerfSample;->maxFPS:D cmpg-double v7, v7, v2 if-gez v7, :cond_1 .line 444 iput-wide v2, v6, Lcom/glu/plugins/gluanalytics/GluPerformance$PerfSample;->maxFPS:D goto :goto_0 .line 448 :cond_5 monitor-exit v4 return-void :goto_2 monitor-exit v4 :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 throw v0 :catchall_1 move-exception v1 goto :goto_4 .line 416 :cond_6 :goto_3 :try_start_2 monitor-exit v0 return-void .line 418 :goto_4 monitor-exit v0 :try_end_2 .catchall {:try_start_2 .. :try_end_2} :catchall_1 throw v1 .end method