cuda.core.system.FieldValue#
- class cuda.core.system.FieldValue(field_value: nvml.FieldValue)#
Represents the data from a single field value.
Use
Device.get_field_values()to get multiple field values at once.Methods
- __init__(*args, **kwargs)#
Attributes
- field_id#
The field ID.
- latency_usec#
How long this field value took to update (in usec) within NVML. This may be averaged across several fields that are serviced by the same driver call.
- scope_id#
The scope ID.
- timestamp#
The CPU timestamp (in microseconds since 1970) at which the value was sampled.
- value#
int | float
The field value.
- Raises:
cuda.core.system.NvmlError – If there was an error retrieving the field value.