mesa/src/intel/perf
Anthony Pesch 1496cc92f6 util/hash_table: added hash functions for integer types
A few hash_table users roll their own integer hash functions which
call _mesa_hash_data to perform the hashing which ultimately calls
into XXH32 with a dynamic key length. When using small keys with a
constant size the hash rate can be greatly improved by inlining
XXH32 and providing it a constant key length, see:
https://fastcompression.blogspot.com/2018/03/xxhash-for-small-keys-impressive-power.html

Additionally, this patch removes calls to _mesa_key_hash_string and
makes them instead call _mesa_has_string directly, matching the new
integer hash functions.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3475>
2020-01-23 17:06:57 +00:00
..
gen_perf.c util/hash_table: added hash functions for integer types 2020-01-23 17:06:57 +00:00
gen_perf.h intel/perf: report query split for mdapi 2020-01-16 15:29:40 +02:00
gen_perf.py intel/perf: add TGL support 2019-10-31 09:13:20 +00:00
gen_perf_mdapi.c intel/perf: report query split for mdapi 2020-01-16 15:29:40 +02:00
gen_perf_mdapi.h intel/perf: add mdapi writes for register perf counters 2019-10-23 05:41:15 +00:00
gen_perf_regs.h intel/perf: move registers to their own header 2019-10-23 05:41:14 +00:00
meson.build intel/perf: add EHL performance query support 2019-11-15 13:14:30 +00:00
oa-bdw.xml
oa-bxt.xml
oa-cflgt2.xml
oa-cflgt3.xml
oa-chv.xml
oa-cnl.xml
oa-glk.xml
oa-hsw.xml
oa-icl.xml intel/perf: update ICL configurations 2019-10-29 13:00:26 +02:00
oa-kblgt2.xml
oa-kblgt3.xml
oa-lkf.xml intel/perf: add EHL performance query support 2019-11-15 13:14:30 +00:00
oa-sklgt2.xml
oa-sklgt3.xml
oa-sklgt4.xml
oa-tgl.xml intel/perf: add TGL support 2019-10-31 09:13:20 +00:00