3.12. CUpti_ActivityEnvironment Struct Reference

[CUPTI Activity API]

This activity record provides CUPTI environmental data, include power, clocks, and thermals. This information is sampled at various rates and returned in this activity record. The consumer of the record needs to check the environmentKind field to figure out what kind of environmental record this is.

Public Variables

CUpti_EnvironmentClocksThrottleReason clocksThrottleReasons
CUpti_ActivityEnvironment::@12::@16  cooling
uint32_t  deviceId
CUpti_ActivityEnvironmentKind environmentKind
uint32_t  fanSpeed
uint32_t  gpuTemperature
CUpti_ActivityKind kind
uint32_t  memoryClock
uint32_t  pcieLinkGen
uint32_t  pcieLinkWidth
CUpti_ActivityEnvironment::@12::@15  power
uint32_t  power
uint32_t  powerLimit
uint32_t  smClock
CUpti_ActivityEnvironment::@12::@13  speed
CUpti_ActivityEnvironment::@12::@14  temperature
uint64_t  timestamp

Variables

CUpti_EnvironmentClocksThrottleReasonCUpti_ActivityEnvironment::clocksThrottleReasons [inherited]

The clocks throttle reasons.

CUpti_ActivityEnvironment::@12::@16 CUpti_ActivityEnvironment::cooling [inherited]

Data returned for CUPTI_ACTIVITY_ENVIRONMENT_COOLING environment kind.

uint32_t CUpti_ActivityEnvironment::deviceId [inherited]

The ID of the device

CUpti_ActivityEnvironmentKindCUpti_ActivityEnvironment::environmentKind [inherited]

The kind of data reported in this record.

uint32_t CUpti_ActivityEnvironment::fanSpeed [inherited]

The fan speed as percentage of maximum.

uint32_t CUpti_ActivityEnvironment::gpuTemperature [inherited]

The GPU temperature in degrees C.

CUpti_ActivityKindCUpti_ActivityEnvironment::kind [inherited]

The activity record kind, must be CUPTI_ACTIVITY_KIND_ENVIRONMENT.

uint32_t CUpti_ActivityEnvironment::memoryClock [inherited]

The memory frequency in MHz

uint32_t CUpti_ActivityEnvironment::pcieLinkGen [inherited]

The PCIe link generation.

uint32_t CUpti_ActivityEnvironment::pcieLinkWidth [inherited]

The PCIe link width.

CUpti_ActivityEnvironment::@12::@15 CUpti_ActivityEnvironment::power [inherited]

Data returned for CUPTI_ACTIVITY_ENVIRONMENT_POWER environment kind.

uint32_t CUpti_ActivityEnvironment::power [inherited]

The power in milliwatts consumed by GPU and associated circuitry.

uint32_t CUpti_ActivityEnvironment::powerLimit [inherited]

The power in milliwatts that will trigger power management algorithm.

uint32_t CUpti_ActivityEnvironment::smClock [inherited]

The SM frequency in MHz

CUpti_ActivityEnvironment::@12::@13 CUpti_ActivityEnvironment::speed [inherited]

Data returned for CUPTI_ACTIVITY_ENVIRONMENT_SPEED environment kind.

CUpti_ActivityEnvironment::@12::@14 CUpti_ActivityEnvironment::temperature [inherited]

Data returned for CUPTI_ACTIVITY_ENVIRONMENT_TEMPERATURE environment kind.

uint64_t CUpti_ActivityEnvironment::timestamp [inherited]

The timestamp when this sample was retrieved, in ns. A value of 0 indicates that timestamp information could not be collected for the marker.