Skip to content

Conversation

@gnurizen
Copy link
Contributor

@gnurizen gnurizen commented Oct 1, 2025

No description provided.

Copy link
Member

@brancz brancz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

}
case support.TraceOriginCuda:
log.Info("reporting CUDA trace event")
writeSample(meta.OffTime, time.Second.Nanoseconds(), 1e9/int64(r.samplesPerSecond), "parca_agent", "cuda", "nanoseconds", "cuda", "nanoseconds")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: is the period type being cuda nanoseconds really accurate?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so? Its just the value we get from subtracting end from start from the activity record. https://docs.nvidia.com/cupti/api/structCUpti__ActivityKernel4.html#_CPPv4N21CUpti_ActivityKernel45startE

@gnurizen gnurizen merged commit 9e64bae into main Oct 8, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants