FIX core id mismatches
This commit is contained in:
parent
cc806784e6
commit
8c20a88abd
2
core
2
core
|
@ -1 +1 @@
|
|||
Subproject commit a0ce1c015dce79db4bd30af68893fbcedc1d5cff
|
||||
Subproject commit c9d0709b7f16df5cdbd29fca77d768e9a8eea672
|
|
@ -155,12 +155,12 @@ return function(update_freq)
|
|||
for _, load_data in pairs(cpu_loads) do
|
||||
local cur = load_data.percent_active
|
||||
load_sum = load_sum + cur
|
||||
CompoundDial.set(cores[load_data.core_id].loads, load_data.thread_id, cur)
|
||||
CompoundDial.set(cores[load_data.conky_core_id].loads, load_data.conky_thread_id, cur)
|
||||
end
|
||||
|
||||
for core_id, path in pairs(coretemp_paths) do
|
||||
for conky_core_id, path in pairs(coretemp_paths) do
|
||||
local temp = __math_floor(0.001 * Util.read_file(path, nil, '*n'))
|
||||
Common.text_ring_set(cores[core_id].coretemp, cr, temp)
|
||||
Common.text_ring_set(cores[conky_core_id].coretemp, cr, temp)
|
||||
end
|
||||
|
||||
-- For some reason this call is slow (querying anything with pstate in
|
||||
|
|
Loading…
Reference in New Issue