REF remove dead code
This commit is contained in:
parent
73c8396a30
commit
2668503257
|
@ -83,7 +83,6 @@ return function()
|
||||||
end
|
end
|
||||||
|
|
||||||
local draw_dynamic = function(cr)
|
local draw_dynamic = function(cr)
|
||||||
-- if trigger == 0 then update() end
|
|
||||||
Common.text_row_draw_dynamic(smart, cr)
|
Common.text_row_draw_dynamic(smart, cr)
|
||||||
Common.compound_bar_draw_dynamic(fs, cr)
|
Common.compound_bar_draw_dynamic(fs, cr)
|
||||||
end
|
end
|
||||||
|
|
|
@ -206,8 +206,6 @@ return function(update_freq)
|
||||||
end
|
end
|
||||||
|
|
||||||
local draw_dynamic = function(cr)
|
local draw_dynamic = function(cr)
|
||||||
-- update()
|
|
||||||
|
|
||||||
Common.text_row_draw_dynamic(status, cr)
|
Common.text_row_draw_dynamic(status, cr)
|
||||||
Common.text_row_crit_draw_dynamic(internal_temp, cr)
|
Common.text_row_crit_draw_dynamic(internal_temp, cr)
|
||||||
Common.text_rows_draw_dynamic(clock_speed, cr)
|
Common.text_rows_draw_dynamic(clock_speed, cr)
|
||||||
|
|
|
@ -172,26 +172,18 @@ return function(update_freq)
|
||||||
|
|
||||||
local draw_static = function(cr)
|
local draw_static = function(cr)
|
||||||
Common.drawHeader(cr, header)
|
Common.drawHeader(cr, header)
|
||||||
|
|
||||||
Common.dial_draw_static(mem, cr)
|
Common.dial_draw_static(mem, cr)
|
||||||
Common.dial_draw_static(swap, cr)
|
Common.dial_draw_static(swap, cr)
|
||||||
|
|
||||||
Common.text_rows_draw_static(cache, cr)
|
Common.text_rows_draw_static(cache, cr)
|
||||||
Timeseries.draw_static(plot, cr)
|
Timeseries.draw_static(plot, cr)
|
||||||
|
|
||||||
Table.draw_static(tbl, cr)
|
Table.draw_static(tbl, cr)
|
||||||
end
|
end
|
||||||
|
|
||||||
local draw_dynamic = function(cr)
|
local draw_dynamic = function(cr)
|
||||||
-- update()
|
|
||||||
|
|
||||||
Common.dial_draw_dynamic(mem, cr)
|
Common.dial_draw_dynamic(mem, cr)
|
||||||
Common.dial_draw_dynamic(swap, cr)
|
Common.dial_draw_dynamic(swap, cr)
|
||||||
|
|
||||||
Common.text_rows_draw_dynamic(cache, cr)
|
Common.text_rows_draw_dynamic(cache, cr)
|
||||||
|
|
||||||
Timeseries.draw_dynamic(plot, cr)
|
Timeseries.draw_dynamic(plot, cr)
|
||||||
|
|
||||||
Table.draw_dynamic(tbl, cr)
|
Table.draw_dynamic(tbl, cr)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,6 @@ return function(update_freq)
|
||||||
end
|
end
|
||||||
|
|
||||||
local draw_dynamic = function(cr)
|
local draw_dynamic = function(cr)
|
||||||
-- update()
|
|
||||||
Common.annotated_scale_plot_draw_dynamic(rx, cr)
|
Common.annotated_scale_plot_draw_dynamic(rx, cr)
|
||||||
Common.annotated_scale_plot_draw_dynamic(tx, cr)
|
Common.annotated_scale_plot_draw_dynamic(tx, cr)
|
||||||
end
|
end
|
||||||
|
|
|
@ -43,7 +43,6 @@ return function()
|
||||||
end
|
end
|
||||||
|
|
||||||
local draw_dynamic = function(cr)
|
local draw_dynamic = function(cr)
|
||||||
-- update(pacman_stats)
|
|
||||||
Common.text_rows_draw_dynamic(rows, cr)
|
Common.text_rows_draw_dynamic(rows, cr)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -128,7 +128,6 @@ return function(update_freq)
|
||||||
end
|
end
|
||||||
|
|
||||||
local draw_dynamic = function(cr)
|
local draw_dynamic = function(cr)
|
||||||
-- update(is_using_ac)
|
|
||||||
Common.annotated_scale_plot_draw_dynamic(pkg0, cr)
|
Common.annotated_scale_plot_draw_dynamic(pkg0, cr)
|
||||||
Common.annotated_scale_plot_draw_dynamic(dram, cr)
|
Common.annotated_scale_plot_draw_dynamic(dram, cr)
|
||||||
Common.annotated_scale_plot_draw_dynamic(bat, cr)
|
Common.annotated_scale_plot_draw_dynamic(bat, cr)
|
||||||
|
|
|
@ -187,8 +187,6 @@ return function(update_freq)
|
||||||
end
|
end
|
||||||
|
|
||||||
local draw_dynamic = function(cr)
|
local draw_dynamic = function(cr)
|
||||||
-- update(trigger)
|
|
||||||
|
|
||||||
for i = 1, #cores do
|
for i = 1, #cores do
|
||||||
CompoundDial.draw_dynamic(cores[i].loads, cr)
|
CompoundDial.draw_dynamic(cores[i].loads, cr)
|
||||||
Common.text_ring_draw_dynamic(cores[i].coretemp, cr)
|
Common.text_ring_draw_dynamic(cores[i].coretemp, cr)
|
||||||
|
|
|
@ -98,7 +98,6 @@ return function(update_freq)
|
||||||
end
|
end
|
||||||
|
|
||||||
local draw_dynamic = function(cr)
|
local draw_dynamic = function(cr)
|
||||||
-- update()
|
|
||||||
Common.annotated_scale_plot_draw_dynamic(reads, cr)
|
Common.annotated_scale_plot_draw_dynamic(reads, cr)
|
||||||
Common.annotated_scale_plot_draw_dynamic(writes, cr)
|
Common.annotated_scale_plot_draw_dynamic(writes, cr)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue