i965: Print out cycle estimates at the start of block annotations.
[mesa.git] / src / mesa / drivers / dri / i965 / intel_asm_annotation.c
index b01490a1822e341f02d3eae0377b7b452ca47566..bb24e5e8ad2415a192f98ed504c7a48d575351a0 100644 (file)
@@ -45,7 +45,7 @@ dump_assembly(void *assembly, int num_annotations, struct annotation *annotation
             struct bblock_t *predecessor_block = predecessor_link->block;
             fprintf(stderr, " <-B%d", predecessor_block->num);
          }
-         fprintf(stderr, "\n");
+         fprintf(stderr, " (%u cycles)\n", annotation[i].block_start->cycle_count);
       }
 
       if (last_annotation_ir != annotation[i].ir) {