Searched refs:TestFrac (Results 1 – 1 of 1) sorted by relevance
2079 double TestFrac = 0.0; in computeBlockSimilarity() local2083 TestFrac = static_cast<double>(TestSample) / FuncOverlap.TestSample; in computeBlockSimilarity()2084 return 1.0 - std::fabs(BaseFrac - TestFrac); in computeBlockSimilarity()2271 double TestFrac = 0.0; in weightForFuncSimilarity() local2277 TestFrac = static_cast<double>(TestFuncSample) / ProfOverlap.TestSample; in weightForFuncSimilarity()2278 double WeightDistance = std::fabs(BaseFrac - TestFrac); in weightForFuncSimilarity()2290 double TestFrac = 0.0; in weightByImportance() local2296 TestFrac = static_cast<double>(TestFuncSample) / ProfOverlap.TestSample / 2.0; in weightByImportance()2297 return FuncSimilarity * (BaseFrac + TestFrac); in weightByImportance()