Logo Search packages:      
Sourcecode: kcollectd version File versions  Download package

Range GraphInfo::minmax (  )

returns range for y-values

Definition at line 1035 of file graph.cc.

Referenced by minmax_adj().

{
  Range r;
  for(const_iterator i = begin(); i != end(); ++i) {
    Range a = ds_minmax(i->avg_data, i->min_data, i->max_data);
    if (a.isValid()) {
      if (r.isValid())
      r = range_max(r, a);
      else
      r = a;
    }
  }
  return r;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index