Lines Matching refs:opcode
153 def hcall_table_lookup(opcode): argument
154 if (opcode in hcall_table):
155 return hcall_table[opcode]
157 return opcode
164 for opcode in output:
165 h_name = hcall_table_lookup(opcode)
166 time = output[opcode]['time']
167 cnt = output[opcode]['cnt']
168 min_t = output[opcode]['min']
169 max_t = output[opcode]['max']
174 opcode, retval): argument
175 if (cpu in d_enter and opcode in d_enter[cpu]):
176 diff = nsecs(sec, nsec) - d_enter[cpu][opcode]
178 if (opcode in output):
179 output[opcode]['time'] += diff
180 output[opcode]['cnt'] += 1
181 if (output[opcode]['min'] > diff):
182 output[opcode]['min'] = diff
183 if (output[opcode]['max'] < diff):
184 output[opcode]['max'] = diff
186 output[opcode] = {
193 del d_enter[cpu][opcode]
198 callchain, opcode): argument
200 d_enter[cpu][opcode] = nsecs(sec, nsec)
202 d_enter[cpu] = {opcode: nsecs(sec, nsec)}