Home
last modified time | relevance | path

Searched refs:TestFrac (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp1333 double TestFrac = 0.0; in computeBlockSimilarity() local
1337 TestFrac = static_cast<double>(TestSample) / FuncOverlap.TestSample; in computeBlockSimilarity()
1338 return 1.0 - std::fabs(BaseFrac - TestFrac); in computeBlockSimilarity()
1525 double TestFrac = 0.0; in weightForFuncSimilarity() local
1531 TestFrac = static_cast<double>(TestFuncSample) / ProfOverlap.TestSample; in weightForFuncSimilarity()
1532 double WeightDistance = std::fabs(BaseFrac - TestFrac); in weightForFuncSimilarity()
1544 double TestFrac = 0.0; in weightByImportance() local
1550 TestFrac = static_cast<double>(TestFuncSample) / ProfOverlap.TestSample / 2.0; in weightByImportance()
1551 return FuncSimilarity * (BaseFrac + TestFrac); in weightByImportance()