diff options
author | rbuj <[email protected]> | 2020-07-14 11:35:07 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-07-29 19:28:08 +0200 |
commit | 3733313e90b81cb171d3ece44c537c435f42c090 (patch) | |
tree | 659c45ad69490ab6f6191b48eac88834bee8aab7 /multiload/global.h | |
parent | 1dafc4423968a404273e4a9372b42bad8390bad3 (diff) | |
download | mate-applets-3733313e90b81cb171d3ece44c537c435f42c090.tar.bz2 mate-applets-3733313e90b81cb171d3ece44c537c435f42c090.tar.xz |
multiload: Display the percentage used accurately on tooltip
Diffstat (limited to 'multiload/global.h')
-rw-r--r-- | multiload/global.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/multiload/global.h b/multiload/global.h index 3f1aa69b..635c9652 100644 --- a/multiload/global.h +++ b/multiload/global.h @@ -76,11 +76,20 @@ struct _MultiloadApplet GtkWidget *notebook; int last_clicked; - long cpu_time [NCPUSTATES]; - long cpu_last [NCPUSTATES]; - int cpu_initialized; + float cpu_used_ratio; + long cpu_time [NCPUSTATES]; + long cpu_last [NCPUSTATES]; + int cpu_initialized; double loadavg1; + + float memload_user_ratio; + float memload_cache_ratio; + + float swapload_used_ratio; + + float diskload_used_ratio; + NetSpeed *netspeed_in; NetSpeed *netspeed_out; guint net_threshold1; |