diff options
| author | Matthijs Bijman <matthijs@bijman.org> | 2017-02-27 13:55:50 +0100 |
|---|---|---|
| committer | Matthijs Bijman <matthijs@bijman.org> | 2017-02-27 13:55:50 +0100 |
| commit | cc5c5a7eac0ebcf97c283e1e0dd1674c855a261a (patch) | |
| tree | 841f95e14a00cb6d23d4e357c9e0cfcbdc3c9a2a /Simulator/include/database | |
| parent | 0709a81231b695caecb2269fe23d8dadeb764892 (diff) | |
Implement logging of cores_used in task_states
Diffstat (limited to 'Simulator/include/database')
| -rw-r--r-- | Simulator/include/database/Queries.h | 6 |
1 files changed, 3 insertions, 3 deletions
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: <int : task_id, int : experiment_id, int : tick, int : flops_left> + Binds: <int : task_id, int : experiment_id, int : tick, int : flops_left, int : cores_used> */ 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")); /* |
