Skip to content

Conversation

@calmkart
Copy link

FIX: fix for vailation time us->ns
in dcgmlib/dcgm_fields.h define the VIOLATION are ns
but in testing/python3/dcgm_filed.py the VIOLATION filed comment all change to us.

This will also cause errors in the configuration comments in dcgm-exporter. I have checked the official documentation and tested the actual values, confirming that these values ​​should all be in nanoseconds (ns).

@calmkart
Copy link
Author

It's just fixing erroneous code comments, but these erroneous comments can be very confusing. The official documentation uses the correct unit: nanoseconds (ns).

https://docs.nvidia.com/datacenter/dcgm/latest/dcgm-api/dcgm-api-field-ids.html#c.DCGM_FI_DEV_POWER_VIOLATION

@glowkey
Copy link
Collaborator

glowkey commented Dec 1, 2025

FYI: this repo requires all PRs to have a verified signature.

@calmkart
Copy link
Author

calmkart commented Dec 4, 2025

FYI: this repo requires all PRs to have a verified signature.

signature done, PTAL @glowkey

@calmkart calmkart force-pushed the master branch 2 times, most recently from 97c90f3 to 8ef0c5e Compare December 18, 2025 06:16
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.

2 participants