6.79. CUpti_ActivityOverhead

struct CUpti_ActivityOverhead

The kinds of activity records.

Each activity record kind represents information about a GPU or an activity occurring on a CPU or GPU. Each kind is associated with a activity record structure that holds the information associated with the kind.

The activity record for CUPTI and driver overheads. (Deprecated in CUDA 12.2)

This activity record provides CUPTI and driver overhead information (CUPTI_ACTIVITY_OVERHEAD). These records are now reported using CUpti_ActivityOverhead3

Public Members

CUpti_ActivityKind kind

The activity record kind, must be CUPTI_ACTIVITY_OVERHEAD.

CUpti_ActivityOverheadKind overheadKind

The kind of overhead, CUPTI, DRIVER, COMPILER etc.

CUpti_ActivityObjectKind objectKind

The kind of activity object that the overhead is associated with.

CUpti_ActivityObjectKindId objectId

The identifier for the activity object.

‘objectKind’ indicates which ID is valid for this record.

uint64_t start

The start timestamp for the overhead, in ns.

A value of 0 for both the start and end timestamps indicates that timestamp information could not be collected for the overhead.

uint64_t end

The end timestamp for the overhead, in ns.

A value of 0 for both the start and end timestamps indicates that timestamp information could not be collected for the overhead.