squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
mem
Stats.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3
*
4
* Squid software is distributed under GPLv2+ license and includes
5
* contributions from numerous individuals and organizations.
6
* Please see the COPYING and CONTRIBUTORS files for details.
7
*/
8
9
#ifndef SQUID__SRC_MEM_STATS_H
10
#define SQUID__SRC_MEM_STATS_H
11
12
#include "mem/forward.h"
13
14
namespace
Mem
15
{
16
17
class
PoolStats
18
{
19
public
:
20
Allocator
*
pool
=
nullptr
;
21
const
char
*
label
=
nullptr
;
22
PoolMeter
*
meter
=
nullptr
;
23
int
obj_size
= 0;
24
int
chunk_capacity
= 0;
25
int
chunk_size
= 0;
26
27
int
chunks_alloc
= 0;
28
int
chunks_inuse
= 0;
29
int
chunks_partial
= 0;
30
int
chunks_free
= 0;
31
32
int
items_alloc
= 0;
33
int
items_inuse
= 0;
34
int
items_idle
= 0;
35
36
int
overhead
= 0;
37
};
38
46
extern
size_t
GlobalStats
(
PoolStats
&);
47
48
}
// namespace Mem
49
50
#endif
/* SQUID__SRC_MEM_STATS_H */
Mem::Allocator
Definition:
Allocator.h:22
Mem::PoolMeter
Definition:
Meter.h:55
Mem::PoolStats
Definition:
Stats.h:18
Mem::PoolStats::items_inuse
int items_inuse
Definition:
Stats.h:33
Mem::PoolStats::label
const char * label
Definition:
Stats.h:21
Mem::PoolStats::overhead
int overhead
Definition:
Stats.h:36
Mem::PoolStats::obj_size
int obj_size
Definition:
Stats.h:23
Mem::PoolStats::items_alloc
int items_alloc
Definition:
Stats.h:32
Mem::PoolStats::chunk_size
int chunk_size
Definition:
Stats.h:25
Mem::PoolStats::pool
Allocator * pool
Definition:
Stats.h:20
Mem::PoolStats::chunks_free
int chunks_free
Definition:
Stats.h:30
Mem::PoolStats::chunks_inuse
int chunks_inuse
Definition:
Stats.h:28
Mem::PoolStats::chunk_capacity
int chunk_capacity
Definition:
Stats.h:24
Mem::PoolStats::chunks_partial
int chunks_partial
Definition:
Stats.h:29
Mem::PoolStats::chunks_alloc
int chunks_alloc
Definition:
Stats.h:27
Mem::PoolStats::meter
PoolMeter * meter
Definition:
Stats.h:22
Mem::PoolStats::items_idle
int items_idle
Definition:
Stats.h:34
Mem
Memory Management.
Definition:
Allocator.h:17
Mem::GlobalStats
size_t GlobalStats(PoolStats &)
Definition:
Stats.cc:15
Introduction
About Squid
Why Squid?
Squid Developers
How to Donate
How to Help Out
Getting Squid
Squid Source Packages
Squid Deployment Case-Studies
Squid Software Foundation
Documentation
Quick Setup
Configuration:
Reference
Examples
FAQ
and
Wiki
Guide Books:
Beginners
Definitive
Non-English
More...
Support
Security Advisories
Bugzilla Database
Mailing lists
Contacting us
Commercial services
Project Sponsors
Squid-based products
Miscellaneous
Developer Resources
Related Writings
Related Software:
Authenticators
Ecap
Icap
Ident
Log Analysis
Monitor
Proxies
Redirectors
General
Squid Artwork
Web Site Translations
Japanese
Mirrors
Website:
gr
il
pl
...
full list
FTP Package Archive