markfcsl
05-30-2003, 12:58 AM
Has anyone had any experience analysing the performance of OpenGL functions?
Intel's VTune is very useful to find CPU bottlenecks, but it would be nice to be able to do something similar with the GPU.
I have my own opengl32.dll replacement which puts a wrapper around each GL function that gives me certain statistics such as usage per-frame, and an estimate of the total time spent in each function on the CPU. I would not like to rely on the figures obtained from the latter however.
I would guess that each video card vendor has their own analysis tool which can query the hardware directly, but I can't imagine that ever being available publicly.
I'd be very interested to hear if anyone has ever done any work in this area.
Cheers,
Mark
Intel's VTune is very useful to find CPU bottlenecks, but it would be nice to be able to do something similar with the GPU.
I have my own opengl32.dll replacement which puts a wrapper around each GL function that gives me certain statistics such as usage per-frame, and an estimate of the total time spent in each function on the CPU. I would not like to rely on the figures obtained from the latter however.
I would guess that each video card vendor has their own analysis tool which can query the hardware directly, but I can't imagine that ever being available publicly.
I'd be very interested to hear if anyone has ever done any work in this area.
Cheers,
Mark