scale_ = capacity_ / val_in(max_ - min_);
}
-void
-StatHist::clear()
-{
- xfree(bins); // can handle case of bins being NULL
- bins=NULL;
- capacity_=0; // mark as destructed, may be needed for troubleshooting
-}
-
StatHist::StatHist(const StatHist &src) :
capacity_(src.capacity_), min_(src.min_), max_(src.max_),
scale_(src.scale_), val_in(src.val_in), val_out(src.val_out)
scale_(1.0), val_in(NULL), val_out(NULL)
{}
+inline void
+StatHist::clear()
+{
+ xfree(bins); // can handle case of bins being NULL
+ bins=NULL;
+ capacity_=0; // mark as destructed, may be needed for troubleshooting
+}
+
#endif /* STATHIST_H_ */
statHistDeltaPctile(const StatHist & A, const StatHist & B, double pctile)
STUB_RETVAL(0.0)
-void
-StatHist::clear()
-STUB
-
void
StatHist::logInit(unsigned int i, double d1, double d2)
STUB