]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Made all StatHist data members private.
authorFrancesco Chemolli <kinkie@squid-cache.org>
Sat, 10 Dec 2011 21:51:28 +0000 (22:51 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Sat, 10 Dec 2011 21:51:28 +0000 (22:51 +0100)
src/StatHist.h

index 7c3ffecbc542f017d1b9dadc70f44da77cbcad41..77c573807662ada9fe26a68ddc7a7d4208fdd42c 100644 (file)
 class StatHist {
 public:
     void clear();
-    double min;
-    double max;
-    double scale;
-    hbase_f *val_in;        /* e.g., log() for log-based histogram */
-    hbase_f *val_out;       /* e.g., exp() for log based histogram */
     double deltaPctile(const StatHist &B, double pctile) const;
     double val(int bin) const; //todo: make private
     void count(double val);
@@ -63,6 +58,11 @@ private:
     int findBin(double v);
     int *bins;
     int capacity;
+    double min;
+    double max;
+    double scale;
+    hbase_f *val_in;        /* e.g., log() for log-based histogram */
+    hbase_f *val_out;       /* e.g., exp() for log based histogram */
 };
 
 /* StatHist */