i965/fs: Print out the estimated cycle count in INTEL_DEBUG=wm

This could be used by shader-db for hopefully more accurate regression
testing.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Eric Anholt
2013-04-08 16:38:57 -07:00
parent 61ca2c4f73
commit a79786af64
@@ -834,6 +834,11 @@ instruction_scheduler::schedule_instructions(fs_inst *next_block_header)
}
}
if (unlikely(INTEL_DEBUG & DEBUG_WM) && post_reg_alloc) {
printf("fs%d estimated execution time: %d cycles\n",
v->dispatch_width, time);
}
assert(instructions_to_schedule == 0);
}