REF remove dead code

This commit is contained in:
Nathan Dwarshuis 2021-07-28 00:07:46 -04:00
parent 73c8396a30
commit 2668503257
8 changed files with 0 additions and 17 deletions

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -43,7 +43,6 @@ return function()
end
local draw_dynamic = function(cr)
-- update(pacman_stats)
Common.text_rows_draw_dynamic(rows, cr)
end

View File

@ -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)

View File

@ -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)

View File

@ -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