Home
last modified time | relevance | path

Searched refs:current_row_count (Results 1 – 1 of 1) sorted by relevance

/external/perfetto/src/trace_processor/sqlite/
Ddb_sqlite_table.cc265 uint32_t current_row_count = row_count; in EstimateCost() local
270 if (current_row_count == 0) in EstimateCost()
277 if (current_row_count < 2) in EstimateCost()
284 current_row_count = 1; in EstimateCost()
294 ? (2 * current_row_count) / log2(current_row_count) in EstimateCost()
295 : current_row_count; in EstimateCost()
299 double estimated_rows = current_row_count / log2(current_row_count); in EstimateCost()
300 current_row_count = std::max(static_cast<uint32_t>(estimated_rows), 1u); in EstimateCost()
304 filter_cost += current_row_count; in EstimateCost()
305 current_row_count = std::max(current_row_count / 2u, 1u); in EstimateCost()
[all …]