This commit is contained in:
Vesa
2014-08-29 20:24:24 +03:00
parent 1deb80acc3
commit 1864dcfaa1
2 changed files with 2 additions and 4 deletions

View File

@@ -31,7 +31,7 @@
#include <QtCore/QReadWriteLock>
#include <QtCore/QHash>
#include "MemoryHelper.h"
#include "export.h"
const int MM_CHUNK_SIZE = 64; // granularity of managed memory
const int MM_INITIAL_CHUNKS = 1024 * 1024; // how many chunks to allocate at startup - TODO: make configurable
@@ -85,7 +85,7 @@ struct PtrInfo
typedef QVector<MemoryPool> MemoryPoolVector;
typedef QHash<void*, PtrInfo> PointerInfoMap;
class MemoryManager
class EXPORT MemoryManager
{
public:
static bool init();