restructured fields for cpu sync;

no longer whole object in species but additional
fields in the corresponding classes
This commit is contained in:
2024-08-13 15:00:13 +02:00
parent 9dda12b60a
commit 2e5923ab6f
12 changed files with 93 additions and 106 deletions
+4
View File
@@ -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;
}
}