mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
hostinfo: up the sample rate
Now that our CPU sampling has a bit less overhead, we can up the sampling rate a bit without too much affect on performance.
This commit is contained in:
@ -291,7 +291,8 @@ 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 (250, collect_hostinfo_cb, self);
|
/* 20 samples per second */
|
||||||
|
self->handler = g_timeout_add (1000/20, collect_hostinfo_cb, self);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user