| D | stat-cpi.py | 2 # SPDX-License-Identifier: GPL-2.0 9 def get_key(time, event, cpu, thread): argument 10 return "%d-%s-%d-%d" % (time, event, cpu, thread) 12 def store_key(time, cpu, thread): argument 13 if (time not in times): 14 times.append(time) 22 def store(time, event, cpu, thread, val, ena, run): argument 23 #print "event %s cpu %d, thread %d, time %d, val %d, ena %d, run %d" % \ 24 # (event, cpu, thread, time, val, ena, run) 26 store_key(time, cpu, thread) [all …]
|