diff options
| author | Hongyu <hongyuhe.cs@googlemail.com> | 2021-03-16 09:08:51 +0100 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-03-18 11:37:43 +0100 |
| commit | dd24782f3710678151c80f8ad365eecc7389b6f8 (patch) | |
| tree | 6e5ddf4e61e70495d67d4220f7657e7b271301e8 /api | |
| parent | 054a3d376b8b31ba98f91e7b34c6e0ca717def18 (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 'api')
0 files changed, 0 insertions, 0 deletions
