i965: Print out cycle estimates at the start of block annotations.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 11 Dec 2016 06:13:05 +0000 (22:13 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 12 Dec 2016 00:33:05 +0000 (16:33 -0800)
commit35c5a9a64df013a385b7bb5291c24a2f300ef57b
tree4f7d7b1ff7b1bf527c4947a5d150ae66fae8a629
parent713cd23d8e5db82e64c81fff792a932a614d7006
i965: Print out cycle estimates at the start of block annotations.

We now print

   START B15 <-B14 (42774 cycles)

indicating that we estimate B15 will take 42,774 cycles.  Printing
this should make it easier where time is spent in the program.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/intel_asm_annotation.c