summaryrefslogtreecommitdiff
path: root/simulator/opendc-workflow
diff options
context:
space:
mode:
authorHongyu <hongyuhe.cs@googlemail.com>2021-03-16 09:08:51 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-03-18 11:37:43 +0100
commitdd24782f3710678151c80f8ad365eecc7389b6f8 (patch)
tree6e5ddf4e61e70495d67d4220f7657e7b271301e8 /simulator/opendc-workflow
parent054a3d376b8b31ba98f91e7b34c6e0ca717def18 (diff)
simulator: Add the CPU power model from iCanCloud/E-mc2
This change implements the CPU energy model with p-states from iCanCloud/E-mc2: - Only pushed a portion of the code for discussion as not sure if the idea is on track. - Inline comments have been added, and formal documents will follow once the model is finalized. - The p-state power consumptions are currently hard-coded in a companion object, which should be improved in the next PR(s). **Breaking Changes** - CpuPowerModel: directly interact with the machine it is measuring. - SimBareMetalMachine: expose the speeds of its CPU cores and its clock instant.
Diffstat (limited to 'simulator/opendc-workflow')
0 files changed, 0 insertions, 0 deletions