|
API Reference Manual
1.48.0
|
ODP CPU masks and enumeration. More...
#include <odp/visibility_begin.h>#include <odp/visibility_end.h>Go to the source code of this file.
Functions | |
| void | odp_cpumask_from_str (odp_cpumask_t *mask, const char *str) |
| Add CPU mask bits from a string. More... | |
| int32_t | odp_cpumask_to_str (const odp_cpumask_t *mask, char *str, int32_t size) |
| Format a string from CPU mask. More... | |
| void | odp_cpumask_zero (odp_cpumask_t *mask) |
| Clear entire CPU mask. More... | |
| void | odp_cpumask_set (odp_cpumask_t *mask, int cpu) |
| Add CPU to mask. More... | |
| void | odp_cpumask_setall (odp_cpumask_t *mask) |
| Set all CPUs in mask. More... | |
| void | odp_cpumask_clr (odp_cpumask_t *mask, int cpu) |
| Remove CPU from mask. More... | |
| int | odp_cpumask_isset (const odp_cpumask_t *mask, int cpu) |
| Test if CPU is a member of mask. More... | |
| int | odp_cpumask_count (const odp_cpumask_t *mask) |
| Count number of CPUs set in mask. More... | |
| void | odp_cpumask_and (odp_cpumask_t *dest, const odp_cpumask_t *src1, const odp_cpumask_t *src2) |
| Member-wise AND over two CPU masks. More... | |
| void | odp_cpumask_or (odp_cpumask_t *dest, const odp_cpumask_t *src1, const odp_cpumask_t *src2) |
| Member-wise OR over two CPU masks. More... | |
| void | odp_cpumask_xor (odp_cpumask_t *dest, const odp_cpumask_t *src1, const odp_cpumask_t *src2) |
| Member-wise XOR over two CPU masks. More... | |
| int | odp_cpumask_equal (const odp_cpumask_t *mask1, const odp_cpumask_t *mask2) |
| Test if two CPU masks contain the same CPUs. More... | |
| void | odp_cpumask_copy (odp_cpumask_t *dest, const odp_cpumask_t *src) |
| Copy a CPU mask. More... | |
| int | odp_cpumask_first (const odp_cpumask_t *mask) |
| Find first set CPU in mask. More... | |
| int | odp_cpumask_last (const odp_cpumask_t *mask) |
| Find last set CPU in mask. More... | |
| int | odp_cpumask_next (const odp_cpumask_t *mask, int cpu) |
| Find next set CPU in mask. More... | |
| int | odp_cpumask_default_worker (odp_cpumask_t *mask, int num) |
| Default CPU mask for worker threads. More... | |
| int | odp_cpumask_default_control (odp_cpumask_t *mask, int num) |
| Default CPU mask for control threads. More... | |
| int | odp_cpumask_all_available (odp_cpumask_t *mask) |
| Report all the available CPUs. More... | |
ODP CPU masks and enumeration.
Definition in file api/spec/cpumask.h.