public final class com.oracle.truffle.js.runtime.util.TimeProfiler
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.oracle.truffle.js.runtime.util.TimeProfiler
  super_class: java.lang.Object
{
  private static final java.lang.String CLASS_NAME;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final java.util.concurrent.atomic.AtomicLong counter;
    descriptor: Ljava/util/concurrent/atomic/AtomicLong;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 46
            new java.lang.StringBuilder
            dup
            ldc "["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc Lcom/oracle/truffle/js/runtime/util/TimeProfiler;
            invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "] "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            putstatic com.oracle.truffle.js.runtime.util.TimeProfiler.CLASS_NAME:Ljava/lang/String;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.oracle.truffle.js.runtime.util.TimeProfiler this
         0: .line 49
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 50
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicLong
            dup
            invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
            putfield com.oracle.truffle.js.runtime.util.TimeProfiler.counter:Ljava/util/concurrent/atomic/AtomicLong;
         2: .line 51
            return
        end local 0 // com.oracle.truffle.js.runtime.util.TimeProfiler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/js/runtime/util/TimeProfiler;

  public void printElapsed(long, java.lang.String);
    descriptor: (JLjava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=3
        start local 0 // com.oracle.truffle.js.runtime.util.TimeProfiler this
        start local 1 // long startTime
        start local 3 // java.lang.String event
         0: .line 54
            invokestatic java.lang.System.nanoTime:()J
            lload 1 /* startTime */
            lsub
            lstore 4 /* elapsed */
        start local 4 // long elapsed
         1: .line 55
            aload 0 /* this */
            getfield com.oracle.truffle.js.runtime.util.TimeProfiler.counter:Ljava/util/concurrent/atomic/AtomicLong;
            lload 4 /* elapsed */
            invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
            pop2
         2: .line 56
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            getstatic com.oracle.truffle.js.runtime.util.TimeProfiler.CLASS_NAME:Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 3 /* event */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " took: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            lload 4 /* elapsed */
            invokestatic com.oracle.truffle.js.runtime.util.TimeUtil.format:(J)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         3: .line 57
            return
        end local 4 // long elapsed
        end local 3 // java.lang.String event
        end local 1 // long startTime
        end local 0 // com.oracle.truffle.js.runtime.util.TimeProfiler this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       this  Lcom/oracle/truffle/js/runtime/util/TimeProfiler;
            0    4     1  startTime  J
            0    4     3      event  Ljava/lang/String;
            1    4     4    elapsed  J
    MethodParameters:
           Name  Flags
      startTime  
      event      

  public void printCumulative();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // com.oracle.truffle.js.runtime.util.TimeProfiler this
         0: .line 60
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            getstatic com.oracle.truffle.js.runtime.util.TimeProfiler.CLASS_NAME:Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "cumulative: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield com.oracle.truffle.js.runtime.util.TimeProfiler.counter:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
            invokestatic com.oracle.truffle.js.runtime.util.TimeUtil.format:(J)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         1: .line 61
            return
        end local 0 // com.oracle.truffle.js.runtime.util.TimeProfiler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/js/runtime/util/TimeProfiler;
}
SourceFile: "TimeProfiler.java"