mesa/src/broadcom/simulator
Juan A. Suarez Romero 4f7043fc0c v3d/simulator: implement performance counters
Add support for performance counters when using the simulator.

v2 (Iago):
 - Remove brackets from single-line conditionals
 - Rename channel to channels
 - Ensure perfmon start/stop function is implemented in all versions
 - Use an array for perfmons instead of hash table
 - Implement performance counters in CSD

v3 (Iago):
 - Rename PERFMON_CHUNKS to PERFMONS_ALLOC_SIZE.
 - Merge increasing lastid and ensuring space in a single function.

v4 (Iago):
 - Assert perfid <= perfmons_size.

v7 (Iago):
 - Do not stop perfmon on each submission

v8 (Iago):
 - Add comment about stopping the perfmon when retrieving values.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10666>
2021-08-03 08:33:52 +00:00
..
meson.build v3d: moving v3d simulator to src/broadcom 2020-06-27 00:06:58 +00:00
v3d_simulator.c v3d/simulator: implement performance counters 2021-08-03 08:33:52 +00:00
v3d_simulator.h v3d/simulator: add v3d_simulator_get_mem_size 2020-10-13 21:21:33 +00:00
v3d_simulator_wrapper.cpp v3d/simulator: get rid of has_gca wrapper 2021-06-07 21:52:20 +00:00
v3d_simulator_wrapper.h v3d/simulator: get rid of has_gca wrapper 2021-06-07 21:52:20 +00:00
v3dx_simulator.c v3d/simulator: implement performance counters 2021-08-03 08:33:52 +00:00
v3dx_simulator.h v3d/simulator: implement performance counters 2021-08-03 08:33:52 +00:00