Searched refs:TestFrac (Results 1 – 1 of 1) sorted by relevance
1436 double TestFrac = 0.0; in computeBlockSimilarity() local1440 TestFrac = static_cast<double>(TestSample) / FuncOverlap.TestSample; in computeBlockSimilarity()1441 return 1.0 - std::fabs(BaseFrac - TestFrac); in computeBlockSimilarity()1628 double TestFrac = 0.0; in weightForFuncSimilarity() local1634 TestFrac = static_cast<double>(TestFuncSample) / ProfOverlap.TestSample; in weightForFuncSimilarity()1635 double WeightDistance = std::fabs(BaseFrac - TestFrac); in weightForFuncSimilarity()1647 double TestFrac = 0.0; in weightByImportance() local1653 TestFrac = static_cast<double>(TestFuncSample) / ProfOverlap.TestSample / 2.0; in weightByImportance()1654 return FuncSimilarity * (BaseFrac + TestFrac); in weightByImportance()