Searched refs:frames_stats (Results 1 – 1 of 1) sorted by relevance
195 struct frame_stat frames_stats[200]; member776 uint32_t f_idx = data->n_frames % ARRAY_SIZE(data->frames_stats); in snapshot_swapchain_frame()789 memset(&data->frames_stats[f_idx], 0, sizeof(data->frames_stats[f_idx])); in snapshot_swapchain_frame()791 …data->frames_stats[f_idx].stats[s] += device_data->frame_stats.stats[s] + data->frame_stats.stats[… in snapshot_swapchain_frame()872 if ((ARRAY_SIZE(data->frames_stats) - _idx) > data->n_frames) in get_time_stat()874 int idx = ARRAY_SIZE(data->frames_stats) + in get_time_stat()875 data->n_frames < ARRAY_SIZE(data->frames_stats) ? in get_time_stat()878 idx %= ARRAY_SIZE(data->frames_stats); in get_time_stat()880 return data->frames_stats[idx].stats[data->stat_selector] / data->time_dividor; in get_time_stat()886 if ((ARRAY_SIZE(data->frames_stats) - _idx) > data->n_frames) in get_stat()[all …]