aboutsummaryrefslogtreecommitdiff
path: root/cpuinf.lua
AgeCommit message (Collapse)AuthorFiles
2010-01-02vicious: update copyrightAdrian C. (anrxc)1
2009-11-04De-obfuscate e-mail addressAdrian C. (anrxc)1
2009-10-26Ensure returned numbers are of type numberAdrian C. (anrxc)1
Thanks to Felix for bringing this to my attention. Obviously there was already a safety net for feeding progressbars and graphs... and while this makes for a good coding practice it's not a big deal. We have widgets of type textbox for one, and a lot of string concatenation happens. Strings are formatted, markup is applied...
2009-10-05Lots of coding style changesAdrian C. (anrxc)1
2009-10-02cpuinf: prepend 'cpu' to CPU ID in table keysAdrian C. (anrxc)1
Keys like cpu0 are more suitable, because they match cpufreq widget arguments. Instead of old format strings, like: ${0 mhz} now use: ${cpu0 mhz}
2009-09-29Rewrote all headersAdrian C. (anrxc)1
2009-09-14General cleanupAdrian C. (anrxc)1
2009-08-07All worker functions are local.Adrian C. (anrxc)1
2009-08-06CPU Information widget included.Adrian C. (anrxc)1
Widget returns speed and cache information for all available CPUs/cores. It stores cpu speed in mhz and ghz in a table as well as cpu cache in kb and mb. Values are retrieved using the CPU ID, i.e. we would retrieve speed in ghz for CPU or core 1 with this format string: ${1 ghz}.