chiark
/
gitweb
/
~ijackson
/
rrd-graphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dad4b1e
)
detail shows correct sloths
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 28 Jun 2010 21:08:42 +0000
(22:08 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 28 Jun 2010 21:08:42 +0000
(22:08 +0100)
cgi
patch
|
blob
|
history
diff --git
a/cgi
b/cgi
index 282e85fefafecf5fc994f54cc61f83caff4a9953..d85e4b7314288ca5ce56358da603cc01235b47d0 100755
(executable)
--- a/
cgi
+++ b/
cgi
@@
-336,11
+336,11
@@
if ($detail) {
my $elems= $group_elems{$section,$detail};
die unless $elems;
start_page("$detail graphs");
- foreach my $
x
sloth (0..5) {
+ foreach my $
t
sloth (0..5) {
foreach my $elem (@$elems) {
my $g= $graphs{$section,$detail,$elem};
die unless $g;
-
my $tsloth= $xsloth + $g->{Slower
};
+
next if $tsloth >= @{ $g->{TimeRanges}
};
my $imgurl= "$self?graph=$detail§ion=$section".
"&sloth=$tsloth&elem=$elem";
print a({href=>"$imgurl&w=780&h=800"},