Lines Matching defs:affinity
187 int affinity, int flush, int comp_level);
353 /** If present, used to set the affinity when switching between CPUs. */
354 struct affinity *affinity;
358 * evlist__for_each_cpu - without affinity, iterate over the evlist. With
359 * affinity, iterate over all CPUs and then the evlist
361 * CPUs the affinity is set to the CPU to avoid IPIs
365 * @affinity: NULL or used to set the affinity to the current CPU.
367 #define evlist__for_each_cpu(evlist_cpu_itr, evlist, affinity) \
368 for ((evlist_cpu_itr) = evlist__cpu_begin(evlist, affinity); \
373 struct evlist_cpu_iterator evlist__cpu_begin(struct evlist *evlist, struct affinity *affinity);
374 /** Move to next element in iterator, updating CPU, evsel and the affinity. */