mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-08 07:30:29 +01:00
i965: Periodically dump the list of monitors if INTEL_DEBUG=perfmon.
It's useful to see the state of all outstanding monitors; the start of a new batch seems like a reasonable time to print them out. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
379a246fc1
commit
63b8ce612f
1 changed files with 3 additions and 0 deletions
|
|
@ -225,6 +225,9 @@ brw_new_batch(struct brw_context *brw)
|
|||
*/
|
||||
if (INTEL_DEBUG & DEBUG_SHADER_TIME)
|
||||
brw_collect_and_report_shader_time(brw);
|
||||
|
||||
if (INTEL_DEBUG & DEBUG_PERFMON)
|
||||
brw_dump_perf_monitors(brw);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue