mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 06:50:22 +01:00
Add the string length parameter to the set_name(), set_value() function to remove the conversion from char* to std::string which takes extra work like calling strlen() to compute the string length. From the callback sampling in the perfetto tracing, the ratio of trace_payload_as_extra_intel_end_draw_indexed to intel_ds_end_draw_indexed drops from 63.80% to 59.65% with this change. v2: Add the data of the callback sampling to the description. Signed-off-by: Andy Hsu <hwandy@google.com> Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38073> |
||
|---|---|---|
| .. | ||
| .clang-format | ||
| cpu_trace.h | ||
| gpuvis_trace_utils.h | ||
| u_gpuvis.c | ||
| u_gpuvis.h | ||
| u_perfetto.cc | ||
| u_perfetto.h | ||
| u_perfetto_renderpass.h | ||
| u_sysprof.c | ||
| u_sysprof.h | ||
| u_trace.c | ||
| u_trace.h | ||
| u_trace.py | ||
| u_trace_compare.py | ||
| u_trace_gather.py | ||
| u_trace_priv.h | ||