Lines Matching refs:br
1398 static const char *annotate__address_color(struct block_range *br) in annotate__address_color() argument
1400 double cov = block_range__coverage(br); in annotate__address_color()
1415 static const char *annotate__asm_color(struct block_range *br) in annotate__asm_color() argument
1417 double cov = block_range__coverage(br); in annotate__asm_color()
1428 static void annotate__branch_printf(struct block_range *br, u64 addr) in annotate__branch_printf() argument
1432 if (!br) in annotate__branch_printf()
1436 if (br->is_target && br->start == addr) { in annotate__branch_printf()
1437 struct block_range *branch = br; in annotate__branch_printf()
1446 p = 100 *(double)br->entry / branch->coverage; in annotate__branch_printf()
1462 if (br->is_branch && br->end == addr) { in annotate__branch_printf()
1463 double p = 100*(double)br->taken / br->coverage; in annotate__branch_printf()
1475 printf(" -%.2f%% (p:%.2f%%)", p, 100*(double)br->pred / br->taken); in annotate__branch_printf()
1484 struct block_range *br; in disasm_line__print() local
1486 br = block_range__find(addr); in disasm_line__print()
1487 color_fprintf(stdout, annotate__address_color(br), " %*" PRIx64 ":", addr_fmt_width, addr); in disasm_line__print()
1488 color_fprintf(stdout, annotate__asm_color(br), "%s", dl->al.line); in disasm_line__print()
1489 annotate__branch_printf(br, addr); in disasm_line__print()