author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 14 Oct 2008 20:14:35 +0000 (20:14 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 14 Oct 2008 20:14:35 +0000 (20:14 +0000) | ||
commit | 9ab495618605bd73dcd0e8fbe7139b19d932a660 | |
tree | 5396d0bc6616e56e3db9d09cea4ac21295c02aab | tree | snapshot |
parent | d5405b3ca09981049845d99590cd9e5d89d3a93c | commit | diff |
This moves selection of the initial RRA row into the rrd_open.c API
The current implementation (random row) is used by default. However, it
now provides an opportunity for alternative implementations to integrate
with rrdtool in a single place.
Maybe there are other places in rrdtool where I should insert calls to
the function rrd_notify_row()?
This has been tested with rrdtool create and rrdtool info to verify that
random rows are selected by default (existing behaviour preserved).
-- Daniel Pocock
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1606 a5681a0c-68f1-0310-ab6d-d61299d08faa
The current implementation (random row) is used by default. However, it
now provides an opportunity for alternative implementations to integrate
with rrdtool in a single place.
Maybe there are other places in rrdtool where I should insert calls to
the function rrd_notify_row()?
This has been tested with rrdtool create and rrdtool info to verify that
random rows are selected by default (existing behaviour preserved).
-- Daniel Pocock
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1606 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/src/rrd.h | diff | blob | history | |
program/src/rrd_create.c | diff | blob | history | |
program/src/rrd_open.c | diff | blob | history | |
program/src/rrd_update.c | diff | blob | history |