com.google.common.base.Stopwatch.class Maven / Gradle / Ivy
???? 2 ? f
g
h
i
j
g 0
k l m n o p
k q
r s t u
v w x
w y
z w {
| } ~
?
?
? ? w ? w ? w ? w ? w ? - ?
w ? ? ? ? ? ? ? ? ?
+ g ? InnerClasses ticker Lcom/google/common/base/Ticker; isRunning Z elapsedNanos J startTick createUnstarted $()Lcom/google/common/base/Stopwatch; Code LineNumberTable C(Lcom/google/common/base/Ticker;)Lcom/google/common/base/Stopwatch; LocalVariableTable
createStarted ()V this "Lcom/google/common/base/Stopwatch;
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; "(Lcom/google/common/base/Ticker;)V ()Z start
StackMapTable stop tick reset ()J elapsed "(Ljava/util/concurrent/TimeUnit;)J desiredUnit Ljava/util/concurrent/TimeUnit; elapsedTime
elapsedMillis toString ()Ljava/lang/String; nanos unit value D RuntimeInvisibleAnnotations /Lcom/google/common/annotations/GwtIncompatible; String.format()
chooseUnit "(J)Ljava/util/concurrent/TimeUnit;
abbreviate 3(Ljava/util/concurrent/TimeUnit;)Ljava/lang/String;
SourceFile Stopwatch.java $Lcom/google/common/annotations/Beta; -Lcom/google/common/annotations/GwtCompatible; emulated com/google/common/base/Stopwatch > ? > E G 8 ? ? ? ? ? com/google/common/base/Ticker 0 1 2 3 "This stopwatch is already running. ? ? ? L 6 5 "This stopwatch is already stopped. 4 5 4 L ? ? P ? ? M N ? P \ ] %.4g %s java/lang/Object ? ? ? ^ _ ? ? ? ? P ? P ? P ? P ? P ? ? ? ? ns μs ms s min h d java/lang/AssertionError "com/google/common/base/Stopwatch$1 systemTicker !()Lcom/google/common/base/Ticker; $com/google/common/base/Preconditions checkNotNull 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkState (ZLjava/lang/Object;)V read java/util/concurrent/TimeUnit NANOSECONDS convert #(JLjava/util/concurrent/TimeUnit;)J MILLISECONDS java/lang/Double valueOf (D)Ljava/lang/Double; java/lang/String format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; DAYS HOURS MINUTES SECONDS MICROSECONDS ($SwitchMap$java$util$concurrent$TimeUnit [I ordinal ()I 1 0 1 2 3 4 5 6 5 7 8 9 ? Y? ? : Y 7 ; 9 3 ? Y*? ? : c <