|
LLVM OpenMP 22.0.0git
|
Synchronization group. More...
Macros | |
| #define | __itt_attr_barrier |
| possible value of attribute argument for sync object type | |
| #define | __itt_attr_mutex |
| possible value of attribute argument for sync object type | |
| #define | __itt_sync_set_name __itt_sync_set_nameA |
| #define | __itt_sync_set_name_ptr __itt_sync_set_nameA_ptr |
| #define | __itt_notify_sync_name __itt_notify_sync_nameA |
Functions | |
| void ITTAPI | __itt_sync_set_nameA (void *addr, const char *objtype, const char *objname, int attribute) |
| Assign a name to a sync object using char or Unicode string. | |
| void ITTAPI | __itt_sync_set_nameW (void *addr, const wchar_t *objtype, const wchar_t *objname, int attribute) |
| int LIBITTAPI | __itt_notify_sync_nameA (void *addr, const char *objtype, int typelen, const char *objname, int namelen, int attribute) |
| Assign a name and type to a sync object using char or Unicode string. | |
| int LIBITTAPI | __itt_notify_sync_nameW (void *addr, const wchar_t *objtype, int typelen, const wchar_t *objname, int namelen, int attribute) |
| void LIBITTAPI | __itt_notify_sync_prepare (void *addr) |
| Enter spin loop on user-defined sync object. | |
| void LIBITTAPI | __itt_notify_sync_cancel (void *addr) |
| Quit spin loop without acquiring spin object. | |
| void LIBITTAPI | __itt_notify_sync_acquired (void *addr) |
| Successful spin loop completion (sync object acquired) | |
| void LIBITTAPI | __itt_notify_sync_releasing (void *addr) |
| Start sync object releasing code. Is called before the lock release call. | |
Synchronization group.
| #define __itt_attr_barrier |
possible value of attribute argument for sync object type
Definition at line 409 of file ittnotify.h.
| #define __itt_attr_mutex |
possible value of attribute argument for sync object type
Definition at line 415 of file ittnotify.h.
| #define __itt_notify_sync_name __itt_notify_sync_nameA |
Definition at line 521 of file ittnotify.h.
| #define __itt_sync_set_name __itt_sync_set_nameA |
Definition at line 441 of file ittnotify.h.
| #define __itt_sync_set_name_ptr __itt_sync_set_nameA_ptr |
Definition at line 442 of file ittnotify.h.
Quit spin loop without acquiring spin object.
References addr, and notify_sync_cancel.
| int LIBITTAPI __itt_notify_sync_nameA | ( | void * | addr, |
| const char * | objtype, | ||
| int | typelen, | ||
| const char * | objname, | ||
| int | namelen, | ||
| int | attribute ) |
Assign a name and type to a sync object using char or Unicode string.
| [in] | addr | - pointer to the sync object. You should use a real pointer to your object to make sure that the values don't clash with other object addresses |
| [in] | objtype | - null-terminated object type string. If NULL is passed, the object will be assumed to be of generic "User Synchronization" type |
| [in] | objname | - null-terminated object name string. If NULL, no name will be assigned to the object – you can use the __itt_sync_rename call later to assign the name |
| [in] | typelen,namelen | - a length of string for appropriate objtype and objname parameter |
| [in] | attribute | - one of [__itt_attr_barrier, __itt_attr_mutex] values which defines the exact semantics of how prepare/acquired/releasing calls work. |
References addr, attribute, namelen, objname, objtype, and typelen.
Start sync object releasing code. Is called before the lock release call.
References addr, and notify_sync_releasing.
| void ITTAPI __itt_sync_set_nameA | ( | void * | addr, |
| const char * | objtype, | ||
| const char * | objname, | ||
| int | attribute ) |
Assign a name to a sync object using char or Unicode string.
| [in] | addr | - pointer to the sync object. You should use a real pointer to your object to make sure that the values don't clash with other object addresses |
| [in] | objtype | - null-terminated object type string. If NULL is passed, the object will be assumed to be of generic "User Synchronization" type |
| [in] | objname | - null-terminated object name string. If NULL, no name will be assigned to the object – you can use the __itt_sync_rename call later to assign the name |
| [in] | attribute | - one of [__itt_attr_barrier, __itt_attr_mutex] values which defines the exact semantics of how prepare/acquired/releasing calls work. |