Lines Matching +full:thermal +full:- +full:zones
8 * http://www.apache.org/licenses/LICENSE-2.0
67 /* The zones build from configuration */
68 static std::unordered_map<int64_t, std::shared_ptr<ZoneInterface>> zones; variable
116 timer->cancel(); in stopControlLoops()
121 if (state::zones.size() > 0 && state::zones.begin()->second.use_count() > 1) in stopControlLoops()
126 state::zones.clear(); in stopControlLoops()
167 state::zones = in restartControlLoops()
171 // larger than 100 per sec for most platforms as the number of zones are in restartControlLoops()
173 buildFailsafeLoggers(state::zones, /* logMaxCountPerSecond = */ 20); in restartControlLoops()
175 if (0 == state::zones.size()) in restartControlLoops()
177 std::cerr << "No zones defined, exiting.\n"; in restartControlLoops()
181 for (const auto& i : state::zones) in restartControlLoops()
221 // re-try control loop, set up a delay. in tryRestartControlLoops()
262 // re-try control loop, set up a delay. in tryTerminateControlLoops()
316 app.add_option("-c,--conf", configPath, in main()
317 "Optional parameter to specify configuration at run-time") in main()
318 ->check(CLI::ExistingFile); in main()
319 app.add_option("-l,--log", loggingPath, in main()
321 ->check(CLI::ExistingDirectory); in main()
322 app.add_flag("-t,--tuning", tuningEnabled, "Enable or disable tuning"); in main()
323 app.add_flag("-d,--debug", debugEnabled, "Enable or disable debug mode"); in main()
324 app.add_flag("-g,--corelogging", coreLoggingEnabled, in main()
329 static constexpr auto loggingEnablePath = "/etc/thermal.d/logging"; in main()
330 static constexpr auto tuningEnablePath = "/etc/thermal.d/tuning"; in main()
331 static constexpr auto debugEnablePath = "/etc/thermal.d/debugging"; in main()
332 static constexpr auto coreLoggingEnablePath = "/etc/thermal.d/corelogging"; in main()