Testing FPS with the Android Eclipse Plugin?

I have no doubt that this question may have been considered earlier, but how can I turn on the frame rate monitor, which will be used when starting my programs using the Android emulator, so that I can see exactly what the Android game is doing at the moment?

+3
source share
1 answer

Try the following:

http://developer.android.com/reference/android/view/Display.html#getRefreshRate ()

 windowManager = (WindowManager) applicationContext.getSystemService(WINDOW_SERVICE);
 display = windowManager.getDefaultDisplay();
 display.getRefreshRate();
-3
source

Source: https://habr.com/ru/post/1756441/


All Articles