Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp2175 double TestFrac = 0.0; in computeBlockSimilarity() local
2179 TestFrac = static_cast<double>(TestSample) / FuncOverlap.TestSample; in computeBlockSimilarity()
2180 return 1.0 - std::fabs(BaseFrac - TestFrac); in computeBlockSimilarity()
2367 double TestFrac = 0.0; in weightForFuncSimilarity() local
2373 TestFrac = static_cast<double>(TestFuncSample) / ProfOverlap.TestSample; in weightForFuncSimilarity()
2374 double WeightDistance = std::fabs(BaseFrac - TestFrac); in weightForFuncSimilarity()
2386 double TestFrac = 0.0; in weightByImportance() local
2392 TestFrac = static_cast<double>(TestFuncSample) / ProfOverlap.TestSample / 2.0; in weightByImportance()
2393 return FuncSimilarity * (BaseFrac + TestFrac); in weightByImportance()