Lines Matching refs:power_rails
1469 Json::Value power_rails = config["PowerRails"]; in ParsePowerRailInfo() local
1473 for (Json::Value::ArrayIndex i = 0; i < power_rails.size(); ++i) { in ParsePowerRailInfo()
1474 const std::string &name = power_rails[i]["Name"].asString(); in ParsePowerRailInfo()
1491 if (!power_rails[i]["VirtualRails"].empty() && power_rails[i]["VirtualRails"].isBool()) { in ParsePowerRailInfo()
1492 is_virtual_power_rail = power_rails[i]["VirtualRails"].asBool(); in ParsePowerRailInfo()
1497 values = power_rails[i]["Combination"]; in ParsePowerRailInfo()
1511 values = power_rails[i]["Coefficient"]; in ParsePowerRailInfo()
1532 if (!power_rails[i]["Offset"].empty()) { in ParsePowerRailInfo()
1533 offset = power_rails[i]["Offset"].asFloat(); in ParsePowerRailInfo()
1543 if (power_rails[i]["Formula"].asString().compare("COUNT_THRESHOLD") == 0) { in ParsePowerRailInfo()
1545 } else if (power_rails[i]["Formula"].asString().compare("WEIGHTED_AVG") == 0) { in ParsePowerRailInfo()
1547 } else if (power_rails[i]["Formula"].asString().compare("MAXIMUM") == 0) { in ParsePowerRailInfo()
1549 } else if (power_rails[i]["Formula"].asString().compare("MINIMUM") == 0) { in ParsePowerRailInfo()
1564 power_sample_count = power_rails[i]["PowerSampleCount"].asInt(); in ParsePowerRailInfo()
1567 if (!power_rails[i]["PowerSampleDelay"]) { in ParsePowerRailInfo()
1571 std::chrono::milliseconds(getIntFromValue(power_rails[i]["PowerSampleDelay"])); in ParsePowerRailInfo()