/*
- * $Id: stat.cc,v 1.204 1998/02/24 21:17:08 wessels Exp $
+ * $Id: stat.cc,v 1.205 1998/02/24 21:43:45 wessels Exp $
*
* DEBUG: section 18 Cache Manager Statistics
* AUTHOR: Harvest Derived
StatCounters *f;
StatCounters *l;
double x;
-
+ assert(interval > 0);
+ if (interval > N_COUNT_HIST - 1)
+ interval = N_COUNT_HIST - 1;
f = &CountHist[0];
l = &CountHist[interval];
assert(f);