10 if (!
opts.recomputetier)
13 ++
stats.tierecomputed;
15 stats.tierecomputed >= 16 ? 1u << 16 : (1u <<
stats.tierecomputed);
16 lim.recompute_tier =
stats.conflicts + delta;
17 LOG (
"rescheduling in %zd at %zd (conflicts at %zd)", delta,
18 lim.recompute_tier,
stats.conflicts);
20 uint64_t total_used = 0;
33 uint64_t accumulated_tier1_limit =
35 uint64_t accumulated_tier2_limit =
37 uint64_t accumulated_used = 0;
38 for (
size_t glue = 0; glue <
stats.used[
stable].size (); ++glue) {
40 accumulated_used += u;
41 if (accumulated_used <= accumulated_tier1_limit) {
44 if (accumulated_used >= accumulated_tier2_limit) {
52 stable ?
"stable" :
"focused");
54 stable ?
"stable" :
"focused");