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