brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 6470e3f Raw
22 lines · plain
1RUN: llvm-profdata overlap %p/Inputs/overlap_1.proftext %p/Inputs/overlap_2.proftext | FileCheck %s -check-prefix=OVERLAP2RUN: llvm-profdata overlap -function=main %p/Inputs/overlap_1.proftext %p/Inputs/overlap_2.proftext | FileCheck %s --check-prefixes=MAINFUNC,OVERLAP3RUN: llvm-profdata overlap -value-cutoff=15000 %p/Inputs/overlap_1.proftext %p/Inputs/overlap_2.proftext | FileCheck %s --check-prefixes=MAINFUNC,OVERLAP4RUN: llvm-profdata merge %p/Inputs/overlap_1.proftext -o %t_1.profdata5RUN: llvm-profdata merge %p/Inputs/overlap_2.proftext -o %t_2.profdata6RUN: llvm-profdata overlap %t_1.profdata %t_2.profdata | FileCheck %s -check-prefix=OVERLAP7MAINFUNC: Function: main (Hash=29212902728)8MAINFUNC:   # of edge counters overlap: 29MAINFUNC:   Edge profile overlap: 100.000%10MAINFUNC:   Edge profile base count sum: 20000011MAINFUNC:   Edge profile test count sum: 2000012OVERLAP: Profile overlap information for base_profile: {{.*}} and test_profile:13OVERLAP: Program level:14OVERLAP:   # of functions overlap: 215OVERLAP:   # of functions mismatch: 116OVERLAP:   # of functions only in test_profile: 117OVERLAP:   Edge profile overlap: 60.000%18OVERLAP:   Mismatched count percentage (Edge): 20.000%19OVERLAP:   Percentage of Edge profile only in test_profile: 20.000%20OVERLAP:   Edge profile base count sum: 50000021OVERLAP:   Edge profile test count sum: 5000022