]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/ipc/ReadWriteLock.cc
Renamed squid.h to squid-old.h and config.h to squid.h
[thirdparty/squid.git] / src / ipc / ReadWriteLock.cc
index 9fef9c1706bb4bf0629d6adc0bfabf941fb9a402..7fc164fb1a9ce0b4b3a7475930a07425a0c23a47 100644 (file)
@@ -4,7 +4,7 @@
  * DEBUG: section 54    Interprocess Communication
  */
 
-#include "squid.h"
+#include "squid-old.h"
 
 #include "Store.h"
 #include "ipc/ReadWriteLock.h"
@@ -71,7 +71,7 @@ Ipc::ReadWriteLockStats::ReadWriteLockStats()
 {
     memset(this, 0, sizeof(*this));
 }
+
 void
 Ipc::ReadWriteLockStats::dump(StoreEntry &e) const
 {
@@ -81,17 +81,17 @@ Ipc::ReadWriteLockStats::dump(StoreEntry &e) const
         return;
 
     storeAppendPrintf(&e, "Reading: %9d %6.2f%%\n",
-        readable, (100.0 * readable / count));
+                      readable, (100.0 * readable / count));
     storeAppendPrintf(&e, "Writing: %9d %6.2f%%\n",
-        writeable, (100.0 * writeable / count));
+                      writeable, (100.0 * writeable / count));
     storeAppendPrintf(&e, "Idle:    %9d %6.2f%%\n",
-        idle, (100.0 * idle / count));
+                      idle, (100.0 * idle / count));
 
     if (readers || writers) {
         const int locked = readers + writers;
         storeAppendPrintf(&e, "Readers:         %9d %6.2f%%\n",
-            readers, (100.0 * readers / locked));
+                          readers, (100.0 * readers / locked));
         storeAppendPrintf(&e, "Writers:         %9d %6.2f%%\n",
-            writers, (100.0 * writers / locked));
+                          writers, (100.0 * writers / locked));
     }
 }