Lines Matching refs:level

118     unsigned int level;  member in cpu_info::sst::OperatingConfig
125 path(std::move(path_)), level(level_) in OperatingConfig()
261 sst->setCurrentLevel(newConfig->level); in appliedConfig()
262 currentLevel = newConfig->level; in appliedConfig()
288 OperatingConfig& newConfig(unsigned int level) in newConfig() argument
291 bus, level, generateConfigPath(level))); in newConfig()
295 std::string generateConfigPath(unsigned int level) const in generateConfigPath()
297 return path + "/config" + std::to_string(level); in generateConfigPath()
328 static void getSingleConfig(SSTInterface& sst, unsigned int level, in getSingleConfig() argument
331 config.powerLimit(sst.tdp(level)); in getSingleConfig()
334 config.availableCoreCount(sst.coreCount(level)); in getSingleConfig()
337 config.baseSpeed(sst.p1Freq(level)); in getSingleConfig()
340 config.maxSpeed(sst.p0Freq(level)); in getSingleConfig()
343 config.maxJunctionTemperature(sst.prochotTemp(level)); in getSingleConfig()
348 if (sst.bfSupported(level)) in getSingleConfig()
351 totalCoreList = sst.enabledCoreList(level); in getSingleConfig()
352 hiFreqCoreList = sst.bfHighPriorityCoreList(level); in getSingleConfig()
358 baseSpeeds = {{sst.bfHighPriorityFreq(level), hiFreqCoreList}, in getSingleConfig()
359 {sst.bfLowPriorityFreq(level), loFreqCoreList}}; in getSingleConfig()
363 config.turboProfile(sst.sseTurboProfile(level)); in getSingleConfig()
459 for (unsigned int level = 0; level <= sst->maxLevel(); ++level) in discoverCPUsAndConfigs() local
461 DEBUG_PRINT << "checking level " << level << ": "; in discoverCPUsAndConfigs()
465 if (!sst->levelSupported(level)) in discoverCPUsAndConfigs()
473 getSingleConfig(*sst, level, cpu.newConfig(level)); in discoverCPUsAndConfigs()
475 if (level == currentLevel) in discoverCPUsAndConfigs()