Sysinfo::Gpu
One GPU's readings; anything that cannot be read is nil, and no read here can raise into the caller.
Constructors
new(vendor : Symbol, name : String | Nil = nil, util_percent : Int32 | Nil = nil, mem_used_kb : Int64 | Nil = nil, mem_total_kb : Int64 | Nil = nil, temp_c : Int32 | Nil = nil, power_w : Float64 | Nil = nil, power_limit_w : Float64 | Nil = nil, pcie_gen : Int32 | Nil = nil, pcie_width : Int32 | Nil = nil)
SourceInstance methods
mem_total_kb
Sourcemem_used_kb
Sourcename
Sourcepcie_gen
Sourcepcie_width
Sourcepower_limit_w
Sourcepower_w
Sourcetemp_c
Sourceutil_percent
Sourcevendor
Source