]> git.cworth.org Git - apitrace/commit
Add simple CPU profiling support to glretrace.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 8 Jan 2012 06:32:41 +0000 (01:32 -0500)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 28 Jan 2012 13:04:50 +0000 (13:04 +0000)
commit2dad4b44fc34f6bd31584b1e2b25aaa9ea861110
tree408eb5aaf01356266bdf4cc6eec05e73439f44c8
parentd3c001368701e745e85802f91d99461eff21ecca
Add simple CPU profiling support to glretrace.

This will note the time that each traced call required, and will dump
this information during the replay, giving a basic idea of where CPU
time was spent in the GL.

Signed-off-by: José Fonseca <jose.r.fonseca@gmail.com>
common/trace_dump.cpp
common/trace_dump.hpp
glretrace.py
glretrace_main.cpp
retrace.cpp
retrace.hpp