This plugin employs the OpenGL timer query extension
GL_EXT_disjoint_timer_query) to provide accurate GPU time measurements
in real-time to apps made with the Unity game engine. Notably
this works on mobile devices and has virtually no overhead.
Typical use cases include:
Unity versions tested: 5.4 and 5.6
GPU's tested: Snapdragon 821 (Adreno 530), Snapdragon 835 (Adreno 540)
RenderTiming.instance.deltaTimefrom your in-app debug overlay, etc.
By default it will log GPU time to console once per second. Disable via component's "Log Timing" field in the inspector.
It will measure GPU time from the end of Update until the end of frame
rendering. (I.e. encompassing both eyes for VR stereo case.)
source for additional caveats.
This project is not an official Google project. It is not supported by Google and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.