Searched refs:current_cntrs (Results 1 – 1 of 1) sorted by relevance
342 uint32_t current_cntrs[ARRAY_SIZE(gpu->last_cntrs)]; in update_hw_cntrs() local347 current_cntrs[i] = gpu_read(gpu, gpu->perfcntrs[i].sample_reg); in update_hw_cntrs()351 cntrs[i] = current_cntrs[i] - gpu->last_cntrs[i]; in update_hw_cntrs()355 gpu->last_cntrs[i] = current_cntrs[i]; in update_hw_cntrs()