Code

rrdtool-all.git
16 years agoenable madvise defines in netbsd
oetiker [Tue, 20 Nov 2007 22:22:31 +0000 (22:22 +0000)]
enable madvise defines in netbsd

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1238 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years agoadded 1.2.26
oetiker [Tue, 20 Nov 2007 00:17:18 +0000 (00:17 +0000)]
added 1.2.26

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1236 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years agoremove last traces of rrd_nan_inf.h
oetiker [Tue, 20 Nov 2007 00:08:20 +0000 (00:08 +0000)]
remove last traces of rrd_nan_inf.h
fix handling of min==max where min < 0

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1234 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years agospell checked
oetiker [Mon, 19 Nov 2007 19:05:25 +0000 (19:05 +0000)]
spell checked

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1231 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years agoadded report
oetiker [Mon, 19 Nov 2007 19:02:54 +0000 (19:02 +0000)]
added report

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1230 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years agore-indented files that have gone out of indent-style over the last few weeks
oetiker [Thu, 15 Nov 2007 14:39:56 +0000 (14:39 +0000)]
re-indented files that have gone out of indent-style over the last few weeks

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1228 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years agointegrate rrd_nan_inf header
oetiker [Thu, 15 Nov 2007 14:36:39 +0000 (14:36 +0000)]
integrate rrd_nan_inf header

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1227 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years agoImprove layout of documentation. -- Bernhard Fischer
oetiker [Thu, 15 Nov 2007 14:35:15 +0000 (14:35 +0000)]
Improve layout of documentation. -- Bernhard Fischer

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1226 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years ago* rrd_update(): Unify error path.
oetiker [Thu, 15 Nov 2007 14:34:14 +0000 (14:34 +0000)]
*  rrd_update(): Unify error path.
*  parse_template(): Likewise.
*  allocate_data_structures(): Make error strings use consistent punctuation.
-- bernhard fischer

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1225 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years agomake sure this compiles with aix
oetiker [Thu, 15 Nov 2007 14:32:37 +0000 (14:32 +0000)]
make sure this compiles with aix

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1224 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years agolisa update
oetiker [Tue, 13 Nov 2007 01:45:33 +0000 (01:45 +0000)]
lisa update

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1214 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years agofixed start end time in ruby fetch and added step size -- Mike Perham mperham gmail
oetiker [Thu, 8 Nov 2007 10:16:27 +0000 (10:16 +0000)]
fixed start end time in ruby fetch and added step size -- Mike Perham mperham gmail

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1213 a5681a0c-68f1-0310-ab6d-d61299d08faa

16 years agoupdated build instructions
oetiker [Tue, 6 Nov 2007 21:27:52 +0000 (21:27 +0000)]
updated build instructions

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1211 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agohandle errors properly ... in RRDp read call
oetiker [Sun, 4 Nov 2007 21:56:19 +0000 (21:56 +0000)]
handle errors properly ... in RRDp read call

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1209 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofixed name for release
oetiker [Mon, 8 Oct 2007 14:36:43 +0000 (14:36 +0000)]
fixed name for release

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1208 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agogetting ready for release
oetiker [Mon, 8 Oct 2007 14:36:19 +0000 (14:36 +0000)]
getting ready for release

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1207 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agono reason to die when posixfadvise is not sucessful
oetiker [Sun, 16 Sep 2007 15:35:11 +0000 (15:35 +0000)]
no reason to die when posixfadvise is not sucessful

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1204 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoAllow to the the smoothing window size other thatn the default 5%.
oetiker [Tue, 11 Sep 2007 06:28:15 +0000 (06:28 +0000)]
Allow to the the smoothing window size other thatn the default 5%.
-- Evan Miller emiller imvu.com

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1203 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded msync before unmap
oetiker [Tue, 11 Sep 2007 06:16:52 +0000 (06:16 +0000)]
added msync before unmap

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1202 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded STDEV aggregation function for VDEF. -- Patrick J Cherry patrick bytemark.co.uk
oetiker [Sat, 8 Sep 2007 05:23:23 +0000 (05:23 +0000)]
added STDEV aggregation function for VDEF. -- Patrick J Cherry patrick bytemark.co.uk

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1201 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoa few leanups -- Bernhard Fischer
oetiker [Fri, 7 Sep 2007 22:53:41 +0000 (22:53 +0000)]
a few leanups -- Bernhard Fischer

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1200 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded missing ;
oetiker [Thu, 6 Sep 2007 09:06:04 +0000 (09:06 +0000)]
added missing ;

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1199 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years ago* mimic write() and read() even better -- Bernhard Fischer
oetiker [Thu, 6 Sep 2007 08:42:22 +0000 (08:42 +0000)]
* mimic write() and read() even better -- Bernhard Fischer

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1198 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agorrd_open.c (rrd_read): Mimicing read() behaviour for EOF case and NULL buffer case.
oetiker [Thu, 6 Sep 2007 08:40:36 +0000 (08:40 +0000)]
rrd_open.c (rrd_read): Mimicing read() behaviour for EOF case and NULL buffer case.
-- Bernhard Fischer

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1197 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofixed speling of horizon
oetiker [Sun, 2 Sep 2007 16:55:01 +0000 (16:55 +0000)]
fixed speling of horizon

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1196 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoa better performance tester
oetiker [Wed, 29 Aug 2007 06:43:16 +0000 (06:43 +0000)]
a better performance tester

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1194 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded holt winters example back into the examples documentation
oetiker [Thu, 16 Aug 2007 07:31:53 +0000 (07:31 +0000)]
added holt winters example back into the examples documentation

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1193 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoFix for HoltWinters phase-shift bug described below.
oetiker [Tue, 14 Aug 2007 21:59:31 +0000 (21:59 +0000)]
Fix for HoltWinters phase-shift bug described below.

When one or more primary data point times were missed, the SEASONAL and
DEVSEASONAL archives were marked as being up-to-date, so that they would not
be written to. It was correct not to write to these archives, but the code
failed to advance the pointers within the SEASONAL and DEVSEASONAL archives
so that future updates would go to the correct location in the archives.

Rather than mark these archives as up-to-date (by setting
rra_step_cnt[rra_idx] = 0), my patch allocates a new "skip_update" array
that is set to 1 for SEASONAL and DEVSEASONAL archives that have missed one
or more primary data points. When an RRA is written to, the cur_row pointer
advancement happens for all archives, but the skip_update array is checked
just before actually writing out the changes.

Please give it a whirl!
-- Evan Miller emiller imvu.com

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1192 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoRefactored rrd_update code in preparation of finding the HW update
oetiker [Mon, 13 Aug 2007 20:06:10 +0000 (20:06 +0000)]
Refactored rrd_update code in preparation of finding the HW update
problem -- Evan Miller

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1191 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoupdated build instructions for 1.3
oetiker [Tue, 7 Aug 2007 15:02:08 +0000 (15:02 +0000)]
updated build instructions for 1.3

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1190 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoinitial talk
oetiker [Fri, 3 Aug 2007 23:46:05 +0000 (23:46 +0000)]
initial talk

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1189 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoaddded details
oetiker [Fri, 3 Aug 2007 21:27:31 +0000 (21:27 +0000)]
addded details

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1187 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for the release of rrdtool-1.2.99907080300
oetiker [Fri, 3 Aug 2007 19:46:17 +0000 (19:46 +0000)]
prepare for the release of rrdtool-1.2.99907080300

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1185 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoremove some things we do not need anymore in 1.3
oetiker [Fri, 3 Aug 2007 19:45:01 +0000 (19:45 +0000)]
remove some things we do not need anymore in 1.3

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1184 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for the release of rrdtool-1.2.99907080300
oetiker [Fri, 3 Aug 2007 19:43:47 +0000 (19:43 +0000)]
prepare for the release of rrdtool-1.2.99907080300

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1183 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprepare for 1.3 beta 1
oetiker [Fri, 3 Aug 2007 19:43:21 +0000 (19:43 +0000)]
prepare for 1.3 beta 1

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1182 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agocontinue with the revision numbering
oetiker [Fri, 3 Aug 2007 19:26:41 +0000 (19:26 +0000)]
continue with the revision numbering

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1181 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded notes on pango inline formatting
oetiker [Fri, 3 Aug 2007 19:17:13 +0000 (19:17 +0000)]
added notes on pango inline formatting

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1180 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agotalk updates
oetiker [Thu, 2 Aug 2007 18:21:34 +0000 (18:21 +0000)]
talk updates

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1179 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoonly release cairo stuff if we ever initialized it.
oetiker [Wed, 1 Aug 2007 15:29:09 +0000 (15:29 +0000)]
only release cairo stuff if we ever initialized it.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1178 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofix for 64bit portability problem ... unsigned long is not int
oetiker [Wed, 1 Aug 2007 15:28:03 +0000 (15:28 +0000)]
fix for 64bit portability problem ... unsigned long is not int

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1177 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoreindented
oetiker [Tue, 31 Jul 2007 04:53:04 +0000 (04:53 +0000)]
reindented

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1175 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded toppics
oetiker [Mon, 30 Jul 2007 22:29:24 +0000 (22:29 +0000)]
added toppics

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1174 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofixed indenting
oetiker [Wed, 25 Jul 2007 20:38:37 +0000 (20:38 +0000)]
fixed indenting

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1173 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agomake sure we check input even when the previous update was a 'U' ... and some indenti...
oetiker [Wed, 25 Jul 2007 20:38:26 +0000 (20:38 +0000)]
make sure we check input even when the previous update was a 'U' ... and some indenting fixes

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1172 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded missing header
oetiker [Tue, 24 Jul 2007 20:35:36 +0000 (20:35 +0000)]
added missing header

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1170 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agonew consolidation functions must be added last or this will break binary compatibility
oetiker [Sun, 22 Jul 2007 15:51:39 +0000 (15:51 +0000)]
new consolidation functions must be added last or this will break binary compatibility

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1169 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agodon't force data out ... let cache management do this
oetiker [Sun, 22 Jul 2007 15:50:21 +0000 (15:50 +0000)]
don't force data out ... let cache management do this

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1168 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoOnly create version 4 rrd files if the new holtwinters MHW.. CF is used.
oetiker [Sun, 22 Jul 2007 09:47:53 +0000 (09:47 +0000)]
Only create version 4 rrd files if the new holtwinters MHW.. CF is used.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1167 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years ago* remove some experimental code from rrd_open
oetiker [Sat, 21 Jul 2007 19:55:00 +0000 (19:55 +0000)]
* remove some experimental code from rrd_open
* rrd_dontneed will release all data except for header blocks and RRA hot blocks
  which are going to be updated withing 10 minutes.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1166 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofor now, do not release fetched data ... in the future we may call rrd_dontneed and...
oetiker [Sat, 21 Jul 2007 19:53:52 +0000 (19:53 +0000)]
for now, do not release fetched data ... in the future we may call rrd_dontneed and let the users decied with an option
if they want to keep the data in cache ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1165 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agothe fonts are now taken from the system. we do not distribute them anympore
oetiker [Sat, 21 Jul 2007 19:52:17 +0000 (19:52 +0000)]
the fonts are now taken from the system. we do not distribute them anympore

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1164 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agonot on update rrd version
oetiker [Sat, 21 Jul 2007 19:37:50 +0000 (19:37 +0000)]
not on update rrd version

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1163 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agowe have a new holtwinders aggregation fucntion, so we have a new version ...
oetiker [Fri, 20 Jul 2007 22:20:18 +0000 (22:20 +0000)]
we have a new holtwinders aggregation fucntion, so we have a new version ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1162 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agocheck for fadvise all the time
oetiker [Fri, 20 Jul 2007 22:19:53 +0000 (22:19 +0000)]
check for fadvise all the time

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1161 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agobetter docs on the aggregate functions
oetiker [Fri, 20 Jul 2007 22:16:36 +0000 (22:16 +0000)]
better docs on the aggregate functions

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1160 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded note on locale
oetiker [Wed, 18 Jul 2007 22:02:18 +0000 (22:02 +0000)]
added note on locale

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1159 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agosome more piechart removed
oetiker [Wed, 18 Jul 2007 21:59:10 +0000 (21:59 +0000)]
some more piechart removed

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1158 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agomake sure all ascii to float parsing uses LC_NUMERIC = C so that we do not stuble...
oetiker [Wed, 18 Jul 2007 21:47:26 +0000 (21:47 +0000)]
make sure all ascii to float parsing uses LC_NUMERIC = C so that we do not stuble on locales confusing the , with a .

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1157 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years ago* rrd_open: rrd_close does not purge file from cache
oetiker [Wed, 18 Jul 2007 00:30:49 +0000 (00:30 +0000)]
* rrd_open: rrd_close does not purge file from cache
* rrd_open: new function rrd_dontneed for purging un-needed pages from core
* rrd_open: in linux at least only fadivse DONTNEED has the power to purge
  pages from cache, so letst call madvise as well as fadvise
* rrd_create: uses open/write/close now, flushes file to disk and keeps only hot pages in core
* rrd_update: keeps only hot pages in core
* configure enables FADVISE even when mmap is in use

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1156 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded comment on float cookie
oetiker [Tue, 17 Jul 2007 21:46:00 +0000 (21:46 +0000)]
added comment on float cookie

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1155 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofix for fetch in ruby bindings and support for info added.
oetiker [Mon, 16 Jul 2007 06:37:07 +0000 (06:37 +0000)]
fix for fetch in ruby bindings and support for info added.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1154 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded report
oetiker [Sat, 14 Jul 2007 13:26:11 +0000 (13:26 +0000)]
added report

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1152 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoimprove wording
oetiker [Thu, 12 Jul 2007 20:33:47 +0000 (20:33 +0000)]
improve wording

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1149 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofix tcl build settup
oetiker [Thu, 12 Jul 2007 20:33:37 +0000 (20:33 +0000)]
fix tcl build settup

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1148 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agomonor updates
oetiker [Thu, 12 Jul 2007 20:33:12 +0000 (20:33 +0000)]
monor updates

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1147 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agousr rrd_free for freeing the rrd structs ... vito caputo
oetiker [Wed, 11 Jul 2007 23:08:47 +0000 (23:08 +0000)]
usr rrd_free for freeing the rrd structs ... vito caputo

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1146 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofixed linebreak
oetiker [Tue, 10 Jul 2007 05:31:13 +0000 (05:31 +0000)]
fixed linebreak

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1144 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoremove the 3.5h comment
oetiker [Mon, 9 Jul 2007 20:18:43 +0000 (20:18 +0000)]
remove the 3.5h comment

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1143 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoinitial emanics versions
oetiker [Fri, 6 Jul 2007 14:05:19 +0000 (14:05 +0000)]
initial emanics versions

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1142 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoprevent potential segfaults on boxes where time_t is not long
oetiker [Thu, 5 Jul 2007 15:19:27 +0000 (15:19 +0000)]
prevent potential segfaults on boxes where time_t is not long

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1141 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadd halfday
oetiker [Sun, 24 Jun 2007 11:42:21 +0000 (11:42 +0000)]
add halfday

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1138 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofritz fix
oetiker [Sun, 24 Jun 2007 11:41:15 +0000 (11:41 +0000)]
fritz fix

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1137 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoupdated for lisa
oetiker [Tue, 19 Jun 2007 06:26:07 +0000 (06:26 +0000)]
updated for lisa

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1135 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofix indentation
oetiker [Mon, 18 Jun 2007 18:25:35 +0000 (18:25 +0000)]
fix indentation

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1134 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoBernhard Fischer:
oetiker [Mon, 18 Jun 2007 16:05:07 +0000 (16:05 +0000)]
Bernhard Fischer:

- move several static struct option out of loops and makes them
  non-static
- moves some functions from old-style definitions into new-style
  definitions

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1133 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoBernhard is not Benrard
oetiker [Sat, 16 Jun 2007 23:20:23 +0000 (23:20 +0000)]
Bernhard is not Benrard

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1132 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agolets have just a single rrdtool extension annd not two ...
oetiker [Sat, 16 Jun 2007 05:32:23 +0000 (05:32 +0000)]
lets have just a single rrdtool extension annd not two ...
-- Jarod Wilson <jwilson@redhat.com>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1131 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agonotes on evans contribs
oetiker [Fri, 15 Jun 2007 21:49:52 +0000 (21:49 +0000)]
notes on evans contribs

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1130 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agorrdtool.spec from Jarod "redhat" Wilson
oetiker [Fri, 15 Jun 2007 21:41:54 +0000 (21:41 +0000)]
rrdtool.spec from Jarod "redhat" Wilson

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1129 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoupdated contributors
oetiker [Fri, 15 Jun 2007 08:09:13 +0000 (08:09 +0000)]
updated contributors

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1127 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded note on TEXTALIGN
oetiker [Fri, 15 Jun 2007 08:01:04 +0000 (08:01 +0000)]
added note on TEXTALIGN

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1126 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoThere are two popular variants of the Holt-Winters forecasting method; RRDtool
oetiker [Fri, 15 Jun 2007 07:59:01 +0000 (07:59 +0000)]
There are two popular variants of the Holt-Winters forecasting method; RRDtool
supports the "additive" method, which means that seasonal variation is simply
added to the baseline. For our application, it would be more appropriate to use
the "multiplicative" Holt-Winters method, where seasonal variation is a
coefficient multiplied by the baseline.  Quick example to illustrate the
difference: if the average doubles season-over-season, the additive method
would predict the delta between min and max to be constant, whereas the
multiplicative method would predict the delta to double as well.

Attached is a patch against trunk to support the multiplicative method.  I've
done this with a new consolidation function, MHWPREDICT, which is essentially
interchangeable with HWPREDICT. There is a noticeable improvement in prediction
deviations for certain types of functions; the attachments show HWPREDICT and
MHWPREDICT predictions for a function with an x*sin(x) component.

Because HWPREDICT and MHWPREDICT differ only in their equations, I've factored
out their math into rrd_hw_math.c. The appropriate smoothing functions are
passed to the update functions in a container of function pointers, which are
called where appropriate. Thus the additive and multiplicative methods use the
same update functions, and the right equations are evaluated without having
flag checks everywhere. This approach, I think, makes the algorithms quite
clear, with minimal duplicate code.

I have moved update_hwpredict, update_seasonal, update_devpredict,
update_devseasonal, and update_failures into a separate file, rrd_hw_update.c,
with some slight refactoring related to rrd_hw_math.c. I ran some
regression tests against trunk to make sure I didn't break anything with
the existing HWPREDICT code.

MHWPREDICT uses the same deviation smoothing and failure detection algorithms
as HWPREDICT.

Some helpful references on the multiplicative Holt-Winters method:

http://www.it.iitb.ac.in/~praj/acads/seminar/04329008_ExponentialSmoothing.pdf
(a student's quick overview of additive vs. multiplicative HW)

http://ideas.repec.org/p/msh/ebswps/1999-1.html (paper on variations to the
multiplicative Holt-Winters, including variance calculations; FYI, my
implementation uses "Model 1")

My employer and the owner of this patch (IMVU, Inc.) is happy to license it
under the same terms as RRDtool, i.e. give it to the project.
-- Evan Miller emiller imvu.com

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1125 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agooops missed to update the in memory output interface here
oetiker [Fri, 15 Jun 2007 06:43:36 +0000 (06:43 +0000)]
oops missed to update the in memory output interface here

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1124 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded interface to get rendered image via a pointer to allocated memory ... Evan...
oetiker [Fri, 15 Jun 2007 06:28:47 +0000 (06:28 +0000)]
added interface to get rendered image via a pointer to allocated memory ... Evan Miller emmiller gmail.com

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1123 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoimprove fontnaming
oetiker [Fri, 15 Jun 2007 06:12:55 +0000 (06:12 +0000)]
improve fontnaming

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1122 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofixed indentation
oetiker [Thu, 14 Jun 2007 20:30:13 +0000 (20:30 +0000)]
fixed indentation

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1121 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded TEXTALIGN command to change the default text alignment
oetiker [Thu, 14 Jun 2007 20:28:44 +0000 (20:28 +0000)]
added TEXTALIGN command to change the default text alignment

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1120 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofixed tcl includes
oetiker [Wed, 13 Jun 2007 16:53:32 +0000 (16:53 +0000)]
fixed tcl includes

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1119 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agobe more helpful when raising rb_eTypeError in string_arr string_arr_new(VALUE rb_stri...
oetiker [Wed, 13 Jun 2007 16:51:06 +0000 (16:51 +0000)]
be more helpful when raising rb_eTypeError in string_arr string_arr_new(VALUE rb_strings). This patch indicates which index is in error as well as the type you are erroneously passing. -- anonymous

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1118 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoBernhard Fischer:
oetiker [Tue, 12 Jun 2007 20:36:50 +0000 (20:36 +0000)]
Bernhard Fischer:
- fix nulling the updvals
- cosmetic change to move the option struct out of the loop.
- need to operate on a copy of optarg

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1116 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded TRENDNAN function -- Timo Stripf
oetiker [Mon, 11 Jun 2007 19:45:42 +0000 (19:45 +0000)]
added TRENDNAN function -- Timo Stripf

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1115 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoallow output to stdout -- Timo Stripf
oetiker [Mon, 11 Jun 2007 19:45:16 +0000 (19:45 +0000)]
allow output to stdout -- Timo Stripf

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1114 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded more news
oetiker [Mon, 11 Jun 2007 16:49:01 +0000 (16:49 +0000)]
added more news

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1113 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofixed indentation, added documentation note on gridfitting.
oetiker [Mon, 11 Jun 2007 16:34:51 +0000 (16:34 +0000)]
fixed indentation, added documentation note on gridfitting.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1112 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agofix arrow locations
oetiker [Mon, 11 Jun 2007 16:33:59 +0000 (16:33 +0000)]
fix arrow locations

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1111 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agodisable gridfitting for vector formats
oetiker [Mon, 11 Jun 2007 16:20:20 +0000 (16:20 +0000)]
disable gridfitting for vector formats

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1110 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agomake pdf output work
oetiker [Mon, 11 Jun 2007 16:14:40 +0000 (16:14 +0000)]
make pdf output work

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1109 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years agoadded detail
oetiker [Mon, 11 Jun 2007 15:32:41 +0000 (15:32 +0000)]
added detail

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1108 a5681a0c-68f1-0310-ab6d-d61299d08faa

17 years ago--font-render-mode is back, and there is also
oetiker [Mon, 11 Jun 2007 15:11:10 +0000 (15:11 +0000)]
--font-render-mode is back, and there is also
--graph-render-mode now. It allows to enable
mono graphs that look strikingly like rrdtool 1.0.x
--tobi

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1107 a5681a0c-68f1-0310-ab6d-d61299d08faa