[sysprof/wip/visualizers] hostinfo: stash CPU usage 4x per second
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/visualizers] hostinfo: stash CPU usage 4x per second
- Date: Tue, 27 Sep 2016 05:00:15 +0000 (UTC)
commit f600a963642602a2a630c7c3d77660583f30a631
Author: Christian Hergert <chergert redhat com>
Date: Mon Sep 26 21:59:28 2016 -0700
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.
lib/sp-hostinfo-source.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/sp-hostinfo-source.c b/lib/sp-hostinfo-source.c
index ea40d9d..335ab43 100644
--- a/lib/sp-hostinfo-source.c
+++ b/lib/sp-hostinfo-source.c
@@ -257,7 +257,7 @@ sp_hostinfo_source_start (SpSource *source)
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]