HomeSort by relevance Sort by last modified time
    Searched defs:cpu_map (Results 1 - 2 of 2) sorted by null

  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
cpumap.h 7 struct cpu_map { struct
12 struct cpu_map *cpu_map__new(const char *cpu_list);
13 struct cpu_map *cpu_map__dummy_new(void);
14 void cpu_map__delete(struct cpu_map *map);
15 struct cpu_map *cpu_map__read(FILE *file);
16 size_t cpu_map__fprintf(struct cpu_map *map, FILE *fp);
17 int cpu_map__get_socket(struct cpu_map *map, int idx);
18 int cpu_map__get_core(struct cpu_map *map, int idx);
19 int cpu_map__build_socket_map(struct cpu_map *cpus, struct cpu_map **sockp)
    [all...]
  /external/blktrace/
blkparse.c 66 unsigned long *cpu_map; member in struct:per_dev_info
506 if (cpu >= pdi->cpu_map_max || !pdi->cpu_map) {
512 if (pdi->cpu_map) {
513 memcpy(map, pdi->cpu_map, pdi->cpu_map_max / sizeof(long));
514 free(pdi->cpu_map);
517 pdi->cpu_map = map;
521 pdi->cpu_map[CPU_IDX(cpu)] |= (1UL << CPU_BIT(cpu));
526 pdi->cpu_map[CPU_IDX(cpu)] &= ~(1UL << CPU_BIT(cpu));
531 return (pdi->cpu_map[CPU_IDX(cpu)] & (1UL << CPU_BIT(cpu))) != 0;
1955 unsigned long *cpu_map; local
    [all...]

Completed in 104 milliseconds