Skip to content

Commit 363198d

Browse files
author
hui.zhao
committed
del fps tmp
1 parent 731f9ca commit 363198d

File tree

1 file changed

+0
-5
lines changed
  • android-godeye/src/main/java/cn/hikyson/godeye/core/internal/modules/fps

1 file changed

+0
-5
lines changed

android-godeye/src/main/java/cn/hikyson/godeye/core/internal/modules/fps/FpsMonitor.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,18 @@
55
import androidx.annotation.UiThread;
66

77
import cn.hikyson.godeye.core.helper.ChoreographerInjecor;
8-
import cn.hikyson.godeye.core.utils.L;
98

109
public class FpsMonitor implements Choreographer.FrameCallback {
1110
private Choreographer mChoreographer;
1211
private int mCurrentFrameCount;
1312
private long mStartFrameTimeNanos;
1413
private long mCurrentFrameTimeNanos;
1514

16-
private long currentMillis;
17-
1815
@UiThread
1916
public void start() {
2017
mChoreographer = ChoreographerInjecor.getChoreographerProvider().getChoreographer();
2118
mCurrentFrameCount = 0;
2219
mCurrentFrameTimeNanos = mStartFrameTimeNanos;
23-
currentMillis = System.currentTimeMillis();
2420
mChoreographer.postFrameCallback(this);
2521
}
2622

@@ -41,7 +37,6 @@ public void doFrame(long frameTimeNanos) {
4137
mStartFrameTimeNanos = frameTimeNanos;
4238
}
4339
mCurrentFrameTimeNanos = frameTimeNanos;
44-
L.d("FpsMonitor doFrame, frameTimeNanos:%s , time cost:%s ms",frameTimeNanos,( System.currentTimeMillis() - currentMillis));
4540
mChoreographer.postFrameCallback(this);
4641
}
4742

0 commit comments

Comments
 (0)