From: wessels <> Date: Mon, 19 Apr 1999 09:37:29 +0000 (+0000) Subject: add weight to cachemgr stats X-Git-Tag: SQUID_3_0_PRE1~2267 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3d3109e1185d74d5cfb301f359cbf6ee619be376;p=thirdparty%2Fsquid.git add weight to cachemgr stats --- diff --git a/src/event.cc b/src/event.cc index d49a97b372..25724f1d8f 100644 --- a/src/event.cc +++ b/src/event.cc @@ -1,6 +1,6 @@ /* - * $Id: event.cc,v 1.24 1998/12/02 05:03:28 wessels Exp $ + * $Id: event.cc,v 1.25 1999/04/19 03:37:29 wessels Exp $ * * DEBUG: section 41 Event Processing * AUTHOR: Henrik Nordstrom @@ -165,12 +165,13 @@ static void eventDump(StoreEntry * sentry) { struct ev_entry *e = tasks; - storeAppendPrintf(sentry, "%s\t%s\n", + storeAppendPrintf(sentry, "%s\t%s\t%s\n", "Operation", - "Next Execution"); + "Next Execution", + "Weight"); while (e != NULL) { - storeAppendPrintf(sentry, "%s\t%f seconds\n", - e->name, e->when - current_dtime); + storeAppendPrintf(sentry, "%s\t%f seconds\t%d\n", + e->name, e->when - current_dtime, e->weight); e = e->next; } }