From cc5c5a7eac0ebcf97c283e1e0dd1674c855a261a Mon Sep 17 00:00:00 2001 From: Matthijs Bijman Date: Mon, 27 Feb 2017 13:55:50 +0100 Subject: Implement logging of cores_used in task_states --- Simulator/include/database/Queries.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Simulator/include/database/Queries.h') diff --git a/Simulator/include/database/Queries.h b/Simulator/include/database/Queries.h index 33e8cdb9..59133058 100644 --- a/Simulator/include/database/Queries.h +++ b/Simulator/include/database/Queries.h @@ -118,11 +118,11 @@ namespace Database /* Inserts the state of a workload into the task_state table. Returns: <> - Binds: + Binds: */ Query<> WRITE_WORKLOAD_STATE(std::string(R"query( - INSERT INTO task_states (task_id, experiment_id, tick, flops_left) - VALUES ($tid, $ssid, $tick, $flops); + INSERT INTO task_states (task_id, experiment_id, tick, flops_left, cores_used) + VALUES ($tid, $ssid, $tick, $flops, $cores_used); )query")); /* -- cgit v1.2.3