section 20 Storage Manager Heap-based replacement
section 20 Storage Manager Logging Functions
section 20 Storage Manager MD5 Cache Keys
+section 20 Storage Manager Statistics
section 20 Storage Manager Swapfile Metadata
section 20 Storage Manager Swapfile Unpacker
section 20 Storage Manager Swapin Functions
tests/stub_HttpRequest.cc \
tests/stub_icp.cc \
tests/stub_ipc.cc \
+ tests/stub_ipcache.cc \
+ tests/stub_libicmp.cc \
tests/stub_MemStore.cc \
tests/stub_mime.cc \
tests/stub_Port.cc \
StoreInfoStats &
StoreInfoStats::operator +=(const StoreInfoStats &stats)
-{
+{
swap.size += stats.swap.size;
swap.capacity += stats.swap.capacity;
swap.count += stats.swap.count;
#define SQUID_STORE_STATS_H
/// High-level store statistics used by mgr:info action. Used inside PODs!
-class StoreInfoStats {
+class StoreInfoStats
+{
public:
- /// Info common to memory and disk parts of the storage. Used inside PODs!
- class Part {
+ /// Info common to memory and disk parts of the storage. Used inside PODs!
+ class Part
+ {
public:
double size; ///< bytes currently in use
double count; ///< number of cached objects
};
/// disk cache (all cache_dirs) storage stats
- class Swap: public Part {
+ class Swap: public Part
+ {
public:
double open_disk_fd; ///< number of opened disk files
};
/// memory cache (cache_mem) storage stats
- class Mem: public Part {
+ class Mem: public Part
+ {
public:
bool shared; ///< whether memory cache is shared among workers
};
// TODO: this should be adjusted for use in StoreIoActionData, DiskdActionData
/// Store statistics related to low-level I/O.
-class StoreIoStats {
+class StoreIoStats
+{
public:
StoreIoStats();
namespace Rock
{
- RunnerRegistrationEntry(rrAfterConfig, SwapDirRr);
+RunnerRegistrationEntry(rrAfterConfig, SwapDirRr);
}
void Rock::SwapDirRr::create(const RunnerRegistry &)