Searched refs:ticks (Results 1 - 1 of 1) sorted by relevance

/sssd/src/util/
H A Dutil_watchdog.c32 volatile int ticks; member in struct:watchdog_ctx
73 /* Do not count ticks if time shift was detected
79 /* if a pre-defined number of ticks passed by kills itself */
80 if (__sync_add_and_fetch(&watchdog_ctx.ticks, 1) > WATCHDOG_MAX_TICKS) {
89 __sync_and_and_fetch(&watchdog_ctx.ticks, 0);
97 /* first thing reset the watchdog ticks */

Completed in 268 milliseconds