summaryrefslogtreecommitdiff
path: root/Simulator/src/database/Database.cpp
diff options
context:
space:
mode:
authorMatthijs Bijman <matthijs@bijman.org>2017-02-27 13:55:50 +0100
committerMatthijs Bijman <matthijs@bijman.org>2017-02-27 13:55:50 +0100
commitcc5c5a7eac0ebcf97c283e1e0dd1674c855a261a (patch)
tree841f95e14a00cb6d23d4e357c9e0cfcbdc3c9a2a /Simulator/src/database/Database.cpp
parent0709a81231b695caecb2269fe23d8dadeb764892 (diff)
Implement logging of cores_used in task_states
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();
});