bugle-stats_calltime — gather call timing
filterset stats_calltimes
This filter-set measures how long is spent in each OpenGL call.
The signal associated with
glSomeFunction
is called
calltimes:
.
glSomeFunction
In addition, there is a signal called
calltimes:total
, which measures the total time
spent in all GL calls.
The expected use is with the average time per
call
statistic defined in the sample statistics
file, which shows the average time spent in each call.
Note that these times include some overhead from bugle itself,
so it will be most useful for calls that involve significant work
(such as shader compilation/linking) or which may stall the CPU
(such as glReadPixels
).