Lines Matching +full:cpu +full:- +full:ns
1 # SPDX-License-Identifier: GPL-2.0+
13 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
30 # cpu: {
159 print_ptrn = '%-28s%10s%10s%10s%10s'
162 print(print_ptrn % ('hcall', 'count', 'min(ns)', 'max(ns)', 'avg(ns)'))
163 print('-' * 68)
173 def powerpc__hcall_exit(name, context, cpu, sec, nsec, pid, comm, callchain, argument
175 if (cpu in d_enter and opcode in d_enter[cpu]):
176 diff = nsecs(sec, nsec) - d_enter[cpu][opcode]
193 del d_enter[cpu][opcode]
197 def powerpc__hcall_entry(event_name, context, cpu, sec, nsec, pid, comm, argument
199 if (cpu in d_enter):
200 d_enter[cpu][opcode] = nsecs(sec, nsec)
202 d_enter[cpu] = {opcode: nsecs(sec, nsec)}