The compute_consumption_profile_model() method from CPUConsumptionProfileModel has a new parameter cpu_tdp corresponding the the CPU TDP value in Watts.
Calling the method with cpu_tdp set and no workload/power data points will trigger the curve fitting feature using "fake" workload/power data points generated from TDP power ratios computed here: AWS Platforms Ratios.
The implementation and testing of the issue https://github.com/Boavizta/boaviztapi/issues/121, about CPU consumption profiles using TDP is done.
The
compute_consumption_profile_model()
method fromCPUConsumptionProfileModel
has a new parametercpu_tdp
corresponding the the CPU TDP value in Watts.Calling the method with
cpu_tdp
set and no workload/power data points will trigger the curve fitting feature using "fake" workload/power data points generated from TDP power ratios computed here: AWS Platforms Ratios.