voltage_domain.hh (10398:d65768b9ffc2) | voltage_domain.hh (10905:a6ca6831e775) |
---|---|
1/* 2 * Copyright (c) 2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 114 unchanged lines hidden (view full) --- 123 * level. 124 * 125 * @return True, if the voltage was actually changed. 126 */ 127 bool sanitiseVoltages(); 128 129 void regStats(); 130 | 1/* 2 * Copyright (c) 2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 114 unchanged lines hidden (view full) --- 123 * level. 124 * 125 * @return True, if the voltage was actually changed. 126 */ 127 bool sanitiseVoltages(); 128 129 void regStats(); 130 |
131 void serialize(std::ostream &os); 132 void unserialize(Checkpoint *cp, const std::string §ion); | 131 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE; 132 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE; 133 |
133 private: 134 typedef std::vector<double> Voltages; 135 /** 136 * List of possible minimum voltage at each of the frequency operational 137 * points, should be in descending order and same size as freqOpPoints. 138 * An empty list corresponds to default voltage specified for the voltage 139 * domain its clock domain belongs. The same voltage is applied for each 140 * freqOpPoints, overall implying NO DVS --- 18 unchanged lines hidden --- | 134 private: 135 typedef std::vector<double> Voltages; 136 /** 137 * List of possible minimum voltage at each of the frequency operational 138 * points, should be in descending order and same size as freqOpPoints. 139 * An empty list corresponds to default voltage specified for the voltage 140 * domain its clock domain belongs. The same voltage is applied for each 141 * freqOpPoints, overall implying NO DVS --- 18 unchanged lines hidden --- |