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/simulation/history/WorkloadSnapshot.h | |
| parent | 0709a81231b695caecb2269fe23d8dadeb764892 (diff) | |
Implement logging of cores_used in task_states
Diffstat (limited to 'Simulator/include/simulation/history/WorkloadSnapshot.h')
| -rw-r--r-- | Simulator/include/simulation/history/WorkloadSnapshot.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Simulator/include/simulation/history/WorkloadSnapshot.h b/Simulator/include/simulation/history/WorkloadSnapshot.h index 1e7e2695..30a93898 100644 --- a/Simulator/include/simulation/history/WorkloadSnapshot.h +++ b/Simulator/include/simulation/history/WorkloadSnapshot.h @@ -5,9 +5,10 @@ namespace Simulation class WorkloadSnapshot { public: - WorkloadSnapshot(uint32_t id, uint32_t flopsDone) : flopsDone(flopsDone), id(id) {} + WorkloadSnapshot(uint32_t id, uint32_t flopsDone, uint32_t coresUsed) : flopsDone(flopsDone), id(id), coresUsed(coresUsed) {} uint32_t flopsDone; uint32_t id; + uint32_t coresUsed; }; }
\ No newline at end of file |
