Lines Matching refs:cost
435 * Applies a mostly-accurate bit cost model to select the section type
443 u_int64_t cost, cost_list, cost_range, cost_bitmap, cost_bitmap_restart;
454 * Calculate the cost to switch from the current state to candidates.
456 * switching cost is independent of the current_state.
474 /* Estimate base cost in bits of each section type */
489 cost = cost_bitmap;
490 if (cost_range < cost) {
492 cost = cost_range;
494 if (cost_list < cost) {
496 cost = cost_list;
498 if (cost_bitmap_restart < cost) {
501 cost = cost_bitmap_restart;