summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 09c6d16)
raw | patch | inline | side by side (parent: 09c6d16)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 12 Oct 2007 16:35:10 +0000 (18:35 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 12 Oct 2007 16:35:10 +0000 (18:35 +0200) |
src/network.c | patch | blob | history | |
src/rrdtool.c | patch | blob | history |
diff --git a/src/network.c b/src/network.c
index c81d7110664da7d5217d07cc4e3076fc55eec640..21b969406907787230f173b2f2faeba5a3b6e20a 100644 (file)
--- a/src/network.c
+++ b/src/network.c
(uint64_t) vl->interval))
return (-1);
vl_def->interval = vl->interval;
- DEBUG ("network plugin: add_to_buffer: interval = %i",
- (int) vl->interval);
}
if (strcmp (vl_def->plugin, vl->plugin) != 0)
diff --git a/src/rrdtool.c b/src/rrdtool.c
index 77d8716619dfd32df737853dd9f1865ee55c76ad..9fc687285cab7ae9894f3285d086a5f810d52b7f 100644 (file)
--- a/src/rrdtool.c
+++ b/src/rrdtool.c
iter = avl_get_iterator (cache);
while (avl_iterator_next (iter, (void *) &key, (void *) &rc) == 0)
{
- DEBUG ("key = %s; age = %i;", key, now - rc->first_value);
-
if (rc->flags == FLAG_QUEUED)
continue;
else if ((now - rc->first_value) < timeout)
avl_insert (cache, cache_key, rc);
}
- DEBUG ("rrd_cache_insert (%s, %s, %u) = %p", filename, value,
- (unsigned int) value_time, (void *) rc);
+ DEBUG ("rrdtool plugin: rrd_cache_insert: file = %s; "
+ "values_num = %i; age = %u;",
+ filename, rc->values_num,
+ rc->last_value - rc->first_value);
if ((rc->last_value - rc->first_value) >= cache_timeout)
{