Lines Matching refs:profile
40 def has_pairs(profile): argument
44 return len(profile) > 0 and isinstance(profile[0], list)
79 def common_instructions(profile): argument
86 if has_pairs(profile) and profile:
87 inst_list = profile[-1]
89 inst_list = profile
97 def common_pairs(profile): argument
106 if not has_pairs(profile):
110 for op1, op1profile in enumerate(profile[:-1])
117 def render_common_pairs(profile=None): argument
125 if profile is None:
126 profile = snapshot_profile()
128 for _, ops, count in common_pairs(profile):