ManaPlus
|
#include <memorymanager.h>
Public Member Functions | |
MemoryManager () | |
~MemoryManager () | |
Static Public Member Functions | |
static int | getSurfaceSize (const SDL_Surface *const surface) |
static void | printMemory (const std::string &name, const int level, const int localSum, const int childsSum) |
static void | printAllMemory (ChatTab *const tab) |
Definition at line 33 of file memorymanager.h.
MemoryManager::MemoryManager | ( | ) |
Definition at line 40 of file memorymanager.cpp.
|
inline |
Definition at line 40 of file memorymanager.h.
|
static |
Definition at line 45 of file memorymanager.cpp.
References CAST_S32.
Referenced by ResourceManager::calcMemoryLocal().
|
static |
Definition at line 83 of file memorymanager.cpp.
References _, ChatMsgType::BY_SERVER, ResourceManager::calcMemory(), IgnoreRecord_false, logger, strprintf(), and TryRemoveColors_true.
|
static |
Definition at line 59 of file memorymanager.cpp.
References Logger::log(), and logger.
Referenced by ResourceManager::calcMemory(), and MemoryCounter::calcMemory().