ManaPlus
|
#include <memorycounter.h>
Public Member Functions | |
MemoryCounter () | |
virtual | ~MemoryCounter () |
int | calcMemory (const int level) const |
virtual int | calcMemoryLocal () const |
virtual int | calcMemoryChilds (const int level) const |
virtual std::string | getCounterName () const |
Definition at line 29 of file memorycounter.h.
MemoryCounter::MemoryCounter | ( | ) |
Definition at line 28 of file memorycounter.cpp.
|
inlinevirtual |
Definition at line 38 of file memorycounter.h.
int MemoryCounter::calcMemory | ( | const int | level | ) | const |
Definition at line 37 of file memorycounter.cpp.
References calcMemoryChilds(), calcMemoryLocal(), getCounterName(), and MemoryManager::printMemory().
Referenced by Action::calcMemoryChilds(), AtlasResource::calcMemoryChilds(), TextureAtlas::calcMemoryChilds(), Map::calcMemoryChilds(), MapLayer::calcMemoryChilds(), and SpriteDef::calcMemoryChilds().
|
virtual |
Reimplemented in SpriteDef, MapLayer, Map, TextureAtlas, AtlasResource, and Action.
Definition at line 48 of file memorycounter.cpp.
Referenced by calcMemory().
|
virtual |
Reimplemented in SpriteDef, SoundEffect, SDLMusic, Resource, WalkLayer, Tileset, SpecialLayer, ObjectsLayer, MapLayer, MapHeights, Map, ImageSet, TextureAtlas, AtlasResource, AtlasItem, Animation, AmbientLayer, and Action.
Definition at line 32 of file memorycounter.cpp.
Referenced by calcMemory().
|
inlinevirtual |
Reimplemented in SoundEffect, SDLMusic, Resource, WalkLayer, SpecialLayer, ObjectsLayer, MapLayer, MapHeights, Map, TextureAtlas, AtlasItem, Animation, AmbientLayer, and Action.
Definition at line 48 of file memorycounter.h.
Referenced by calcMemory().