nvtx3 Interfaces
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(nvtxDomainHandle), | private, | save | :: | domain_nvtx |
NVTX domain handle |
||
logical, | private, | save | :: | domain_created | = | .false. |
Has domain been created? |
Creates an NVTX domain with the specified name.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=c_char), | intent(in) | :: | name(*) |
Name of the NVTX domain. |
||
type(nvtxDomainHandle) | :: | domain |
Handle to the created NVTX domain. |
Pushes a range with a custom message and color onto the specified NVTX domain.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(nvtxDomainHandle), | value | :: | domain |
NVTX domain handle. |
||
character(len=c_char), | intent(in) | :: | message(*) |
Custom message for the range. |
||
integer(kind=c_int), | intent(in), | value | :: | color |
Color for the range. |
Pops a range from the specified NVTX domain.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(nvtxDomainHandle), | value | :: | domain |
NVTX domain handle. |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(c_ptr), | public | :: | handle |
Pushes a range to the NVTX domain
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | message |
Message to push |
||
integer(kind=c_int), | intent(in) | :: | color |
Color of the range |
Pops a range from the NVTX domain
Creates a new NVTX domain