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:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user