Add a simple gpu profiler.
Use alt+f4 to profile 30 frames and print gfx events times.