Home
last modified time | relevance | path

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

/aosp_15_r20/external/toolchain-utils/afdo_tools/bisection/
H A Dafdo_prof_analysis.py181 def bisect_profiles(decider, good, bad, common_funcs, lo, hi): argument
205 "Found %s as a problematic function profile", common_funcs[lo]
207 results["individuals"].append(common_funcs[lo])
213 for func in common_funcs[lo:mid]:
215 for func in common_funcs[mid:hi]:
222 result = bisect_profiles(decider, good, bad, common_funcs, lo, mid)
226 result = bisect_profiles(decider, good, bad, common_funcs, mid, hi)
233 problem_range = range_search(decider, good, bad, common_funcs, lo, hi)
255 common_funcs = sorted(func for func in good if func in bad)
256 if not common_funcs:
[all …]
H A Dafdo_prof_analysis_test.py111 common_funcs = [
114 common_funcs.remove("func_a")
115 common_funcs.insert(0, "func_a")
116 common_funcs.remove("func_b")
117 common_funcs.append("func_b")
123 common_funcs,
125 len(common_funcs),