PowerModel.py (12546:8182d78bebcb) PowerModel.py (12547:3bf3ae601ead)
1# Copyright (c) 2016-2018 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 49 unchanged lines hidden (view full) ---

58 pm = VectorParam.PowerModelState([], "List of per-state power models.")
59
60 # Need a reference to the system so we can query the thermal domain
61 # about temperature (temperature is needed for leakage calculation)
62 subsystem = Param.SubSystem(Parent.any, "subsystem")
63
64 # Type of power model
65 pm_type = Param.PMType("All", "Type of power model")
1# Copyright (c) 2016-2018 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 49 unchanged lines hidden (view full) ---

58 pm = VectorParam.PowerModelState([], "List of per-state power models.")
59
60 # Need a reference to the system so we can query the thermal domain
61 # about temperature (temperature is needed for leakage calculation)
62 subsystem = Param.SubSystem(Parent.any, "subsystem")
63
64 # Type of power model
65 pm_type = Param.PMType("All", "Type of power model")
66
67 # Ambient temperature to be used when no thermal model is present
68 ambient_temp = Param.Float(25.0, "Ambient temperature")