Increasing the update period for "Environment" activity when using CUDA Activities API

Hi!

I am trying to increase the update period for the “Environment” activity when using the CUDA Activities API.

Currently it appears that I am getting a new record every 50 ms, Ideally I would need as often as possible. I have looked into functions such as “cuptiActivityConfigurePCSampling”, but to my understaind this is only for program counters.

I am looking to read the power consumption.

Best regards
Rasmus Madsen

There is no control in CUPTI to change the collection frequency of the “Environment” activity. It leverages the NVML API, which offers greater flexibility for managing environment activity including power consumption.