1 -- Licensed to the public under the Apache License 2.0.
3 module("luci.statistics.rrdtool.definitions.cpufreq",package.seeall)
6 return luci.i18n.translate("CPU Frequency")
9 function rrdargs( graph, plugin, plugin_instance, dtype )
12 title = "%H: Processor frequency",
14 vlabel = "Frequency (Hz)",
15 number_format = "%3.2lf%s",
21 cpufreq_0 = { color = "ff0000", title = "Core 0", noarea=true, overlay=true },
22 cpufreq_1 = { color = "0000ff", title = "Core 1", noarea=true, overlay=true },
23 cpufreq_2 = { color = "00ff00", title = "Core 2", noarea=true, overlay=true },
24 cpufreq_3 = { color = "00ffff", title = "Core 3", noarea=true, overlay=true }