private long mDrawnRealTime;
起点:mDrawnRealTime = SystemClock.elapsedRealtime();
终点:
long delay = SystemClock.elapsedRealtime() - mDrawnRealTime; // 差值
Slog.d(TAG, "do something after " + delay + " ms");
private long mDrawnRealTime;
起点:mDrawnRealTime = SystemClock.elapsedRealtime();
终点:
long delay = SystemClock.elapsedRealtime() - mDrawnRealTime; // 差值
Slog.d(TAG, "do something after " + delay + " ms");