Lines Matching defs:groom
357 { "groom-time", 'g', "SECONDS", 0, "Number of seconds to wait between database grooming, 0=disable.", 0 },
358 { "maxigroom", 'G', NULL, 0, "Run a complete database groom/shrink pass at startup.", 0 },
368 { "regex-groom", 'r', NULL, 0,"Uses regexes from -I and -X arguments to groom the database.",0},
386 { "passive", ARGP_KEY_PASSIVE, NULL, 0, "Do not scan or groom, read-only database.", 0 },
3656 if (sigusr2 != forced_groom_count) // stop early if groom triggered
3810 set_metric("groom", "statistic",
3818 void groom()
3873 obatched(clog) << "groom: stale file=" << filename << " mtime=" << mtime << endl;
3876 set_metric("thread_work_pending","role","groom", stale_fileid_mtime.size());
3907 set_metric("thread_work_pending","role","groom", stale_fileid_mtime.size());
3932 set_metric("thread_work_pending","role","groom", stale_fileid_mtime.size());
3973 set_metric("thread_tid", "role", "groom", tid());
3974 add_metric("thread_count", "role", "groom", 1);
3986 if (last_groom == 0) // at least one initial groom is documented even for -g0
3997 set_metric("thread_busy", "role", "groom", 1);
4000 groom ();
4008 inc_metric("thread_work_total", "role", "groom");
4009 set_metric("thread_busy", "role", "groom", 0);
4324 obatched(clog) << "groom time " << groom_s << endl;
4348 error (EXIT_FAILURE, rc, "cannot spawn thread to groom database\n");
4352 (void) pthread_setname_np (pt, "groom");