|
NVTX C++ API Reference 1.0
C++ convenience wrappers for NVTX v3 C API
|
Object for intra-domain grouping of NVTX events. More...
#include <nvtx3.hpp>

Public Types | |
| using | id_type = uint32_t |
Type used for categorys integer id. | |
Public Member Functions | |
| constexpr | category (id_type id) noexcept |
Construct a category with the specified id. | |
| constexpr id_type | get_id () const noexcept |
| Returns the id of the category. | |
| category (category const &)=default | |
| category & | operator= (category const &)=default |
| category (category &&)=default | |
| category & | operator= (category &&)=default |
Object for intra-domain grouping of NVTX events.
A category is simply an integer id that allows for fine-grain grouping of NVTX events. For example, one might use separate categories for IO, memory allocation, compute, etc.
Example:
To associate a name string with a category id, see named_category.
| using nvtx3::v1::mv1::category::id_type = uint32_t |
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |