mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
hostinfo: stash CPU usage 4x per second
Probably want to make this a tunable at some point, but this makes things a bit better for graphing now.
This commit is contained in:
@ -257,7 +257,7 @@ sp_hostinfo_source_start (SpSource *source)
|
|||||||
|
|
||||||
g_assert (SP_IS_HOSTINFO_SOURCE (self));
|
g_assert (SP_IS_HOSTINFO_SOURCE (self));
|
||||||
|
|
||||||
self->handler = g_timeout_add (500, collect_hostinfo_cb, self);
|
self->handler = g_timeout_add (250, collect_hostinfo_cb, self);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user