mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-07 03:48:02 +02:00
renderer-gl: Be consistent with Perfetto regarding GPU activity
Rename 'timeline' to 'activity' and 'elapsed' to 'active'. Feels like this it would more familiar to people when analysing traces and uses the Perfetto naming for consistency. Otherwise I'd rename 'activity' to 'timeline' for Perfetto track names. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
parent
e17a219885
commit
414e85c22d
1 changed files with 2 additions and 4 deletions
|
|
@ -730,13 +730,11 @@ timeline_render_point_handler(int fd, uint32_t mask, void *data)
|
|||
TLP_GPU(&end), TLP_OUTPUT(trp->output), TLP_END);
|
||||
|
||||
weston_log_scope_printf(gr->paint_node_scope,
|
||||
"\tGPU Timeline:\n\t\tbegin: %" PRId64 ".%09ld"
|
||||
" - end: %" PRId64 ".%09ld - elapsed: %.2f us\n",
|
||||
"\tGPU activity:\n\t\tbegin: %" PRId64 ".%09ld"
|
||||
" - end: %" PRId64 ".%09ld - active: %.2f us\n",
|
||||
(int64_t) begin.tv_sec, begin.tv_nsec,
|
||||
(int64_t) end.tv_sec, end.tv_nsec,
|
||||
(float) (elapsed / 1000.0f));
|
||||
|
||||
|
||||
}
|
||||
|
||||
timeline_render_point_destroy(trp);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue