57 |
|
class BlockSnapshotManager : public SnapshotManager{ |
58 |
|
|
59 |
|
public: |
60 |
< |
BlockSnapshotManager(SimInfo* info, const std::string& filename, int storageLayout, int blockCapacity = 2); |
60 |
> |
BlockSnapshotManager(SimInfo* info, const std::string& filename, int storageLayout, long long int memSize, int blockCapacity = 2); |
61 |
|
~BlockSnapshotManager(); |
62 |
|
|
63 |
|
virtual Snapshot* getSnapshot(int id); |
109 |
|
|
110 |
|
SimInfo* info_; |
111 |
|
int blockCapacity_; |
112 |
+ |
long long int memSize_; |
113 |
|
|
114 |
|
std::vector<Snapshot*> snapshots_; |
115 |
|
std::vector<SnapshotBlock> blocks_; |