Lines Matching refs:factor
18 const double factor =
22 "[%s] factor %.1f based on mu=%.3f, speed_ratio=%.f "
24 Trait::kName, factor, Trait::kTargetMutatorUtilization,
27 return factor;
40 // growing factor.
48 // On smaller devices we linearly scale the factor: (X-A)/(B-A)*(D-C)+C
49 double factor = (max_size - Trait::kMinSize) *
53 return factor;
57 // (mutator speed), this function returns the heap growing factor that will
67 // Based on the MU we can compute the heap growing factor F as
109 // The factor is a / b, but we need to check for small b first.
110 double factor = (a < b * max_factor) ? a / b : max_factor;
111 factor = std::min(factor, max_factor);
112 factor = std::max({factor, Trait::kMinGrowingFactor});
113 return factor;
130 size_t new_space_capacity, double factor,
135 factor = std::min({factor, Trait::kConservativeGrowingFactor});
138 factor = Trait::kMinGrowingFactor;
145 factor = 1.0 + FLAG_heap_growing_percent / 100.0;
148 CHECK_LT(1.0, factor);
151 std::max(static_cast<uint64_t>(current_size * factor),
163 Trait::kName, current_size / KB, result / KB, factor);