|
|
@@ -111,6 +111,7 @@ bool opt_quiet;
|
|
|
bool opt_realquiet;
|
|
|
bool opt_loginput;
|
|
|
const int opt_cutofftemp = 95;
|
|
|
+int opt_hysteresis = 3;
|
|
|
static int opt_retries = -1;
|
|
|
int opt_fail_pause = 5;
|
|
|
int opt_log_interval = 5;
|
|
|
@@ -1178,10 +1179,12 @@ static struct opt_table opt_config_table[] = {
|
|
|
set_temp_cutoff, opt_show_intval, &opt_cutofftemp,
|
|
|
"Temperature where a device will be automatically disabled, one value or comma separated list"),
|
|
|
#endif
|
|
|
-#ifdef HAVE_ADL
|
|
|
+#if defined(HAVE_ADL) || defined(USE_MODMINER)
|
|
|
OPT_WITH_ARG("--temp-hysteresis",
|
|
|
set_int_1_to_10, opt_show_intval, &opt_hysteresis,
|
|
|
"Set how much the temperature can fluctuate outside limits when automanaging speeds"),
|
|
|
+#endif
|
|
|
+#ifdef HAVE_ADL
|
|
|
OPT_WITH_ARG("--temp-overheat",
|
|
|
set_temp_overheat, opt_show_intval, &opt_overheattemp,
|
|
|
"Overheat temperature when automatically managing fan and GPU speeds, one value or comma separated list"),
|