You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
566 B
29 lines
566 B
8 years ago
|
import java.util.concurrent.TimeUnit;
|
||
|
|
||
|
public class ah {
|
||
|
private volatile long a = -1L;
|
||
|
private volatile long b = 0L;
|
||
|
|
||
|
public void a() {
|
||
|
// $FF: Couldn't be decompiled
|
||
|
}
|
||
|
|
||
|
public double a(TimeUnit var1) {
|
||
|
return (double)(this.b / this.b(var1));
|
||
|
}
|
||
|
|
||
|
public long b() {
|
||
|
return this.b;
|
||
|
}
|
||
|
|
||
|
public long b(TimeUnit var1) {
|
||
|
long var2 = System.currentTimeMillis() - this.a;
|
||
|
return TimeUnit.MILLISECONDS.convert(var2, var1);
|
||
|
}
|
||
|
|
||
|
public void c() {
|
||
|
this.a = System.currentTimeMillis();
|
||
|
this.b = 0L;
|
||
|
}
|
||
|
}
|