Home
last modified time | relevance | path

Searched refs:pcpus (Results 1 – 1 of 1) sorted by relevance

/external/linux-tools-perf/src/tools/perf/util/
Dpython.c376 static int pyrf_cpu_map__init(struct pyrf_cpu_map *pcpus, in pyrf_cpu_map__init() argument
386 pcpus->cpus = cpu_map__new(cpustr); in pyrf_cpu_map__init()
387 if (pcpus->cpus == NULL) in pyrf_cpu_map__init()
392 static void pyrf_cpu_map__delete(struct pyrf_cpu_map *pcpus) in pyrf_cpu_map__delete() argument
394 cpu_map__delete(pcpus->cpus); in pyrf_cpu_map__delete()
395 pcpus->ob_type->tp_free((PyObject*)pcpus); in pyrf_cpu_map__delete()
400 struct pyrf_cpu_map *pcpus = (void *)obj; in pyrf_cpu_map__length() local
402 return pcpus->cpus->nr; in pyrf_cpu_map__length()
407 struct pyrf_cpu_map *pcpus = (void *)obj; in pyrf_cpu_map__item() local
409 if (i >= pcpus->cpus->nr) in pyrf_cpu_map__item()
[all …]