Mercurial > hg > batmud > misc
changeset 88:6d3f15ee18d9 misc
Add note about having log input in chronological order.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 25 Apr 2010 01:58:43 +0000 |
parents | 28e24f92e957 |
children | 56cee55c2a6c |
files | magestats.pl |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/magestats.pl Sun Apr 25 01:48:13 2010 +0000 +++ b/magestats.pl Sun Apr 25 01:58:43 2010 +0000 @@ -61,6 +61,10 @@ -t <png|gif> Image format to be used ('$opt_imgfmt') -s <WxH> Graph dimensions in pixels ($opt_width x $opt_height) -n No input (only handle cache, if specified) + +NOTICE! The input log data is assumed to be in CHRONOLOGICAL ORDER! +Things will go bonkers if that is not the case. Thus, make sure you +are feeding the data in correct order (older logs first, etc.) "); die("Invalid operation mode '$opt_mode'!\n") unless ($opt_mode =~ /^(dump|stats)$/); @@ -493,6 +497,10 @@ </html> "; + +### +### Output graphs +### mlog(1, "Outputting graphs '".$opt_prefix."_*.".$opt_imgfmt."'..."); foreach my $type (sort { $a cmp $b } keys %spell_data) {