Overview# Function Decorator and Context Manager Annotation Types Markers Ranges Annotation Attributes Best practices Give, don’t take Isolate NVTX annotations in a library using a domain Use categories to organize annotations Reduce cache lookups and object allocations Use payload for large data, don’t embed data in messages Automatic function annotation Command-line interface The Profile class