restructured fields for cpu sync;
no longer whole object in species but additional fields in the corresponding classes
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
DeletionLogger::DeletionLogger(std::vector<DeletionType> used_types) {
|
||||
for (auto& type : used_types) {
|
||||
num_deletions[type] = 0;
|
||||
sync_num_deletions[type] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,4 +36,7 @@ void DeletionLogger::resetDeletionLogger() {
|
||||
for(auto& pair : num_deletions) {
|
||||
pair.second = 0;
|
||||
}
|
||||
for (auto& pair : sync_num_deletions) {
|
||||
pair.second = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user