Fix TDP/REQUEST reading

Change-Id: I7b4f2f176696a4f4636934accebf71ed3285427c
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com>
This commit is contained in:
Kanhaiya
2020-10-07 23:55:33 +05:30
committed by sys_ocldev
parent a939c89d91
commit 872049978a
2 changed files with 5 additions and 5 deletions

View File

@ -278,8 +278,8 @@ ze_result_t LinuxFrequencyImp::getMinVal(double &minVal) {
void LinuxFrequencyImp::init() {
minFreqFile = "gt_min_freq_mhz";
maxFreqFile = "gt_max_freq_mhz";
requestFreqFile = "gt_cur_freq_mhz";
tdpFreqFile = "gt_boost_freq_mhz";
requestFreqFile = "gt_punit_req_freq_mhz";
tdpFreqFile = "gt_raplPL1_freq_mhz";
actualFreqFile = "gt_act_freq_mhz";
efficientFreqFile = "gt_RP1_freq_mhz";
maxValFreqFile = "gt_RP0_freq_mhz";

View File

@ -13,8 +13,8 @@ namespace ult {
const std::string minFreqFile("gt_min_freq_mhz");
const std::string maxFreqFile("gt_max_freq_mhz");
const std::string requestFreqFile("gt_cur_freq_mhz");
const std::string tdpFreqFile("gt_boost_freq_mhz");
const std::string requestFreqFile("gt_punit_req_freq_mhz");
const std::string tdpFreqFile("gt_raplPL1_freq_mhz");
const std::string actualFreqFile("gt_act_freq_mhz");
const std::string efficientFreqFile("gt_RP1_freq_mhz");
const std::string maxValFreqFile("gt_RP0_freq_mhz");
@ -226,4 +226,4 @@ class PublicLinuxFrequencyImp : public L0::LinuxFrequencyImp {
};
} // namespace ult
} // namespace L0
} // namespace L0