Home
last modified time | relevance | path

Searched refs:busy_index (Results 1 - 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_gpu_load.c156 unsigned busy_index) in r600_read_mmio_counter()
171 unsigned busy = p_atomic_read(&rscreen->mmio_counters.array[busy_index]); in r600_read_mmio_counter()
172 unsigned idle = p_atomic_read(&rscreen->mmio_counters.array[busy_index + 1]); in r600_read_mmio_counter()
178 uint64_t begin, unsigned busy_index) in r600_end_mmio_counter()
180 uint64_t end = r600_read_mmio_counter(rscreen, busy_index); in r600_end_mmio_counter()
197 return counters.array[busy_index] ? 100 : 0; in r600_end_mmio_counter()
257 unsigned busy_index = busy_index_from_type(rscreen, type); in r600_begin_counter() local
258 return r600_read_mmio_counter(rscreen, busy_index); in r600_begin_counter()
264 unsigned busy_index = busy_index_from_type(rscreen, type); in r600_end_counter() local
265 return r600_end_mmio_counter(rscreen, begin, busy_index); in r600_end_counter()
155 r600_read_mmio_counter(struct r600_common_screen *rscreen, unsigned busy_index) r600_read_mmio_counter() argument
177 r600_end_mmio_counter(struct r600_common_screen *rscreen, uint64_t begin, unsigned busy_index) r600_end_mmio_counter() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_gpu_load.c170 static uint64_t si_read_mmio_counter(struct si_screen *sscreen, unsigned busy_index) in si_read_mmio_counter() argument
184 unsigned busy = p_atomic_read(&sscreen->mmio_counters.array[busy_index]); in si_read_mmio_counter()
185 unsigned idle = p_atomic_read(&sscreen->mmio_counters.array[busy_index + 1]); in si_read_mmio_counter()
190 static unsigned si_end_mmio_counter(struct si_screen *sscreen, uint64_t begin, unsigned busy_index) in si_end_mmio_counter() argument
192 uint64_t end = si_read_mmio_counter(sscreen, busy_index); in si_end_mmio_counter()
209 return counters.array[busy_index] ? 100 : 0; in si_end_mmio_counter()
268 unsigned busy_index = busy_index_from_type(sscreen, type); in si_begin_counter() local
269 return si_read_mmio_counter(sscreen, busy_index); in si_begin_counter()
274 unsigned busy_index = busy_index_from_type(sscreen, type); in si_end_counter() local
275 return si_end_mmio_counter(sscreen, begin, busy_index); in si_end_counter()
[all...]

Completed in 1 milliseconds