summaryrefslogtreecommitdiffstats
path: root/darwin
diff options
context:
space:
mode:
authormulti <multi@in-addr.xyz>2020-09-24 20:17:51 +0100
committercgzones <cgzones@googlemail.com>2020-09-28 14:35:35 +0200
commitd22f6573f3765bd8b47b8d544bbbe99007b66b9d (patch)
treeac03b135be29391a33cf6ea3f0c98cb0c422f5ed /darwin
parente75077a9f8c325d8f30afbec235a2b255f78cdc2 (diff)
CPUMeter: refactor common CPU meter rendering code.
Instead of scanning the meter name to determine the number of columns in a CPU meter, move the common code behind some wrapper functions, and specify the number of columns as an explicit parameter when called from the wrappers. While this does add a bit of code for all the necessary wrapper functions, this should be less brittle in case of future changes to the CPU meter code.
Diffstat (limited to 'darwin')
0 files changed, 0 insertions, 0 deletions

© 2014-2024 Faster IT GmbH | imprint | privacy policy