summaryrefslogtreecommitdiff
path: root/Simulator/src/database/Database.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Simulator/src/database/Database.cpp')
-rw-r--r--Simulator/src/database/Database.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Simulator/src/database/Database.cpp b/Simulator/src/database/Database.cpp
index b953bc73..5abee41e 100644
--- a/Simulator/src/database/Database.cpp
+++ b/Simulator/src/database/Database.cpp
@@ -50,8 +50,9 @@ namespace Database
uint32_t id = snapshot.id;
uint32_t flopsDone = snapshot.flopsDone;
+ uint32_t coresUsed = snapshot.coresUsed;
writeWorkloadStateQuery.reset()
- .bindParams<int, int, int, int>(id, experiment.getId(), tick, flopsDone)
+ .bindParams<int, int, int, int, int>(id, experiment.getId(), tick, flopsDone, coresUsed)
.executeOnce();
});