]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
add weight to cachemgr stats
authorwessels <>
Mon, 19 Apr 1999 09:37:29 +0000 (09:37 +0000)
committerwessels <>
Mon, 19 Apr 1999 09:37:29 +0000 (09:37 +0000)
src/event.cc

index d49a97b3727e635969140fd67e7f8e67511a088a..25724f1d8fbce078fb85e8bb6ad8647288a8a92f 100644 (file)
@@ -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;
     }
 }