| 60 |
|
BlockSnapshotManager(SimInfo* info, const std::string& filename, int storageLayout, int blockCapacity = 2); |
| 61 |
|
~BlockSnapshotManager(); |
| 62 |
|
|
| 63 |
< |
virtual Snapshot* getSnapshot(int id) { return snapshots_[id]; } |
| 63 |
> |
virtual Snapshot* getSnapshot(int id); |
| 64 |
|
|
| 65 |
+ |
|
| 66 |
|
/** Returns number of snapshot blocks in this BlockSnapshotManager*/ |
| 67 |
|
int getNBlocks() { |
| 68 |
|
return blocks_.size(); |
| 73 |
|
} |
| 74 |
|
|
| 75 |
|
int getNActiveBlocks(); |
| 75 |
– |
|
| 76 |
|
|
| 77 |
+ |
void needCOMprops(bool ncp); |
| 78 |
+ |
|
| 79 |
+ |
|
| 80 |
|
bool isBlockActive(int block) { |
| 81 |
|
return findActiveBlock(block) != activeBlocks_.end() ? true : false; |
| 82 |
|
} |