Lines Matching refs:profile
39 def has_pairs(profile): argument
43 return len(profile) > 0 and isinstance(profile[0], list)
78 def common_instructions(profile): argument
85 if has_pairs(profile) and profile:
86 inst_list = profile[-1]
88 inst_list = profile
96 def common_pairs(profile): argument
105 if not has_pairs(profile):
109 for op1, op1profile in enumerate(profile[:-1])
116 def render_common_pairs(profile=None): argument
124 if profile is None:
125 profile = snapshot_profile()
127 for _, ops, count in common_pairs(profile):