@@ -808,6 +808,7 @@ fn print_nvidia_details() {
808808 " Pwr Mgmt Limit Df:{:?}mW" ,
809809 device. power_management_limit_default( )
810810 ) ;
811+ // NotSupported
811812 println ! (
812813 " Pwr Mgmt Limit: {:?}mW" ,
813814 device. power_management_limit( )
@@ -821,7 +822,7 @@ fn print_nvidia_details() {
821822 " Total Energy: {:?}mJ" ,
822823 device. total_energy_consumption( )
823824 ) ;
824- // 0 right now
825+ // 0/NotSupported right now
825826 println ! ( " Serialnum: {:?}" , device. serial( ) ) ;
826827 println ! (
827828 " Throttle Reason: {:?}" ,
@@ -834,9 +835,12 @@ fn print_nvidia_details() {
834835 //println!(" Temperature Thres:{:?}C", device.temperature_threshold());
835836 println ! ( " Util Rate: {:?}" , device. utilization_rates( ) ) ;
836837 println ! ( " Memory Info: {:?}" , device. memory_info( ) ) ;
838+ // Not supported
837839 println ! ( " Part Number: {:?}" , device. board_part_number( ) ) ;
838840 println ! ( " Board ID: {:?}" , device. board_id( ) ) ;
841+ // 0
839842 println ! ( " Num Fans: {:?}" , device. num_fans( ) ) ;
843+ // Works
840844 println ! ( " Display Active?: {:?}" , device. is_display_active( ) ) ;
841845 println ! ( " Display Conn?: {:?}" , device. is_display_connected( ) ) ;
842846}
0 commit comments