/*
- * $Id: stat.cc,v 1.117 1997/01/15 18:41:48 wessels Exp $
+ * $Id: stat.cc,v 1.118 1997/01/19 08:10:51 wessels Exp $
*
* DEBUG: section 18 Cache Manager Statistics
* AUTHOR: Harvest Derived
storeGetSwapSize() >> 10);
storeAppendPrintf(sentry, "{\tStorage Mem size:\t%d KB}\n",
store_mem_size >> 10);
+ if (Config.referenceAge < 0)
+ storeAppendPrintf(sentry, "{\tStorage LRU Expiration Age:\t%d days}\n",
+ (int) storeExpiredReferenceAge());
#if HAVE_GETRUSAGE && defined(RUSAGE_SELF)
storeAppendPrintf(sentry, "{Resource usage for %s:}\n", appname);
/*
- * $Id: store.cc,v 1.194 1997/01/19 00:16:02 wessels Exp $
+ * $Id: store.cc,v 1.195 1997/01/19 08:10:52 wessels Exp $
*
* DEBUG: section 20 Storeage Manager
* AUTHOR: Harvest Derived
static void storeDoRebuildFromDisk _PARAMS((void *data));
static void storeRebuiltFromDisk _PARAMS((struct storeRebuild_data * data));
static unsigned int getKeyCounter _PARAMS((void));
-static time_t storeExpiredReferenceAge _PARAMS((void));
/* Now, this table is inaccessible to outsider. They have to use a method
* to access a value in internal storage data structure. */
}
/* gnuplot> plot 724**((x)+1)*60 */
-static time_t
+time_t
storeExpiredReferenceAge(void)
{
int half;