mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
. increase CPU granularity from 1 sec. to 2 sec. to get more smooth results
(the same difference as with "top -s1" vs "top -s2", look at idle state); . bump PORTREVISION.
This commit is contained in:
parent
0796d28a7d
commit
1715bb221a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333664
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= fbpanel
|
||||
PORTVERSION= 6.1
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= SF
|
||||
EXTRACT_SUFX= .tbz2
|
||||
|
@ -82,3 +82,12 @@
|
||||
#else
|
||||
static int
|
||||
cpu_get_load(cpu_priv *c)
|
||||
@@ -109,7 +173,7 @@
|
||||
k->set_rows(&c->chart, 1, c->colors);
|
||||
gtk_widget_set_tooltip_markup(((plugin_instance *)c)->pwid, "<b>Cpu</b>");
|
||||
cpu_get_load(c);
|
||||
- c->timer = g_timeout_add(1000, (GSourceFunc) cpu_get_load, (gpointer) c);
|
||||
+ c->timer = g_timeout_add(2000, (GSourceFunc) cpu_get_load, (gpointer) c);
|
||||
RET(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user