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/simulation/history/WorkloadSnapshot.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Simulator/include/simulation/history') 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 -- cgit v1.2.3