void omp_display_affinity(const char *format);
Summary The omp_display_affinity routine prints the OpenMP thread affinity information using the format specification provided.
Binding The binding thread set for an omp_display_affinity region is the encountering thread.
Effect The omp_display_affinity routine prints the thread affinity information of the current thread in the format specified by the format argument, followed by a new-line. If the format is NULL (for C/C++) or a zero-length string (for Fortran and C/C++), the value of the affinity-format-var ICV is used. If the format argument does not conform to the specified format then the result is implementation defined.