Mercurial > fife-parpg
diff engine/core/util/resource/pool.h @ 147:fb6ccb367dd1
Added just some docs and a sanityCheck against the
difficult to find bugs of the location classes.
So if memory usage/load time goes through the
roof, try logging 'pool' messages.
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 09 Oct 2008 13:36:13 +0000 |
parents | 54b3984e1afc |
children | 72c25cc27d8b |
line wrap: on
line diff
--- a/engine/core/util/resource/pool.h Thu Oct 09 12:36:21 2008 +0000 +++ b/engine/core/util/resource/pool.h Thu Oct 09 13:36:13 2008 +0000 @@ -127,10 +127,14 @@ */ virtual void removePoolListener(IPoolListener* listener); - /** Prints the cache statistics to the standard output + /** Prints the cache statistics to the log */ virtual void printStatistics(); + /** Performs a sanity check for the location map. + */ + virtual void sanityCheck(); + protected: private: class PoolEntry {