/*
- * Copyright (C) 1996-2019 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
class MemPoolStats;
/// \ingroup MemPoolsAPI
-/// \todo Kill this typedef for C++
+/// TODO: Kill this typedef for C++
typedef struct _MemPoolGlobalStats MemPoolGlobalStats;
/// \ingroup MemPoolsAPI
/**
\par
* Main cleanup handler. For MemPools to stay within upper idle limits,
- * this function needs to be called periodically, preferrably at some
+ * this function needs to be called periodically, preferably at some
* constant rate, eg. from Squid event. It looks through all pools and
* chunks, cleans up internal states and checks for releasable chunks.
*
* Suitable frequency for cleanup is in range of few tens of seconds to
* few minutes, depending of memory activity.
*
- \todo DOCS: Re-write this shorter!
+ * TODO: DOCS: Re-write this shorter!
*
\param maxage Release all totally idle chunks that
* have not been referenced for maxage seconds.
};
/// \ingroup MemPoolsAPI
-/// \todo Classify and add constructor/destructor to initialize properly.
+/// TODO: Classify and add constructor/destructor to initialize properly.
struct _MemPoolGlobalStats {
MemPoolMeter *TheMeter;
/**
\ingroup MemPoolsAPI
- \todo Stats API - not sured how to refactor yet
*
* Fills a MemPoolGlobalStats with statistical data about overall
* usage for all pools.