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