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/modeling/machine/Machine.h | |
| parent | 0709a81231b695caecb2269fe23d8dadeb764892 (diff) | |
Implement logging of cores_used in task_states
Diffstat (limited to 'Simulator/include/modeling/machine/Machine.h')
| -rw-r--r-- | Simulator/include/modeling/machine/Machine.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Simulator/include/modeling/machine/Machine.h b/Simulator/include/modeling/machine/Machine.h index c89d32d1..f18f8352 100644 --- a/Simulator/include/modeling/machine/Machine.h +++ b/Simulator/include/modeling/machine/Machine.h @@ -76,6 +76,11 @@ namespace Modeling */ float getLoad() const; + /** + * \return The number of cores in this machine. + */ + uint32_t getNumberOfCores() const; + private: // A list of cpus in this machine. std::vector<CPU> cpus; |
