Lines Matching +full:re +full:- +full:tuning
1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright 2017 Google Inc
14 #include "pid/tuning.hpp"
113 timer->cancel(); in stopControlLoops()
118 if (state::zones.size() > 0 && state::zones.begin()->second.use_count() > 1) in stopControlLoops()
219 // re-try control loop, set up a delay. in tryRestartControlLoops()
261 // re-try control loop, set up a delay. in tryTerminateControlLoops()
315 app.add_option("-c,--conf", configPath, in main()
316 "Optional parameter to specify configuration at run-time") in main()
317 ->check(CLI::ExistingFile); in main()
318 app.add_option("-l,--log", loggingPath, in main()
320 ->check(CLI::ExistingDirectory); in main()
321 app.add_flag("-t,--tuning", tuningEnabled, "Enable or disable tuning"); in main()
322 app.add_flag("-d,--debug", debugEnabled, "Enable or disable debug mode"); in main()
323 app.add_flag("-g,--corelogging", coreLoggingEnabled, in main()
329 static constexpr auto tuningEnablePath = "/etc/thermal.d/tuning"; in main()
370 // If this file exists, enable tuning at runtime in main()
377 std::cerr << "Tuning enabled\n"; in main()