Commits
82
82
83
83
// GetPerformanceState retrieves the performance state (P-state) of the NVIDIA device.
84
84
GetPerformanceState() (uint, error)
85
85
86
86
// GetClockInfo retrieves the clock rate for the specified clock type of the NVIDIA device.
87
87
GetClockInfo(clockType ClockType) (uint, error)
88
88
89
89
// GetPowerManagementLimit retrieves the power management limit of the NVIDIA device in milliwatts.
90
90
GetPowerManagementLimit() (uint, error)
91
91
92
+
// GetTotalEnergyConsumption retrieves the total energy consumption of the NVIDIA device in millijoules.
92
93
GetTotalEnergyConsumption() (uint64, error)
93
94
94
95
// GetEncoderStats retrieves statistics related to the encoder activity on the device.
95
96
// It returns the following statistics:
96
97
// - sessionCount: the number of active encoder sessions.
97
98
// - averageFps: the average frames per second across all active encoder sessions.
98
99
// - averageLatency: the average latency (in milliseconds) across all active encoder sessions.
99
100
GetEncoderStats() (uint, uint, uint, error)
100
101
101
102
// GetEncoderUtilization retrieves the encoder utilization statistics for the device.