diff options
| -rw-r--r-- | watchdog.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -16,6 +16,10 @@ #define WATCHDOG_BURST_END 90 // cpu time percentage considered the end of a burst #define WATCHDOG_SAMPLES 5 // how many samples a burst needs to persist for to be logged +#if WATCHDOG_SAMPLES < 2 +#error must consider at least 2 samples +#endif + // arbitrary limits, bump if necessary #define MAX_PROCESS 4096 #define DIRBUFFER_SIZE 262144 |
