Improved memory size measurement. Slower but generates less errors.
Improved memory size measurement. Slower but generates less errors.

File last commit:

r114:54b9f2f11e09 0.6
r114:54b9f2f11e09 0.6
Show More
memtester.h
21 lines | 573 B | text/x-c | CLexer
#ifndef MEMTESTER_H
#define MEMTESTER_H
#include <socexplorerplugin.h>
#include <QObject>
class MemTester : public QObject
{
Q_OBJECT
public:
MemTester(QObject *parent=0);
~MemTester();
static unsigned int measureMemSize(socexplorerplugin* plugin, unsigned int address,unsigned int maxSize=0xFFFFFFFF);
static unsigned int measureMemSize(const QString& plugin, unsigned int address,unsigned int maxSize=0xFFFFFFFF);
public slots:
private:
static bool m_check_space(socexplorerplugin* plugin,unsigned int address, unsigned int pow);
};
#endif // MEMTESTER_H