Searched refs:avg_samples (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_autotune.c | 74 uint32_t avg_samples; member 177 get_history(struct tu_autotune *at, uint64_t rp_key, uint32_t *avg_samples) in get_history() argument 190 *avg_samples = p_atomic_read(&history->avg_samples); in get_history() 235 float avg_samples = (float)total_samples / (float)history->num_results; in history_add_result() local 236 p_atomic_set(&history->avg_samples, (uint32_t)avg_samples); in history_add_result() 419 history->key, history->avg_samples, history->num_results); in tu_autotune_fini() 554 uint32_t avg_samples = 0; in tu_autotune_use_bypass() local 555 if (get_history(at, renderpass_key, &avg_samples)) { in tu_autotune_use_bypass() 564 estimate_drawcall_bandwidth(cmd_buffer, avg_samples); in tu_autotune_use_bypass() 587 avg_samples, in tu_autotune_use_bypass()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_autotune.c | 221 float avg_samples = (float)total_samples / (float)history->num_results; in fd_autotune_use_bypass() local 226 if (avg_samples < 500.0f) in fd_autotune_use_bypass() 235 float total_draw_cost = (avg_samples * sample_cost) / batch->num_draws; in fd_autotune_use_bypass() 238 batch->hash, batch->num_draws, total_samples, avg_samples, in fd_autotune_use_bypass()
|