mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
venus: log performance envs upon instance creation with debug init
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Change-Id: I8db93d6de28ac6a727c10fbaca94cffac092f8ea Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16256>
This commit is contained in:
parent
84a53de76c
commit
3f44bad1ce
1 changed files with 12 additions and 0 deletions
|
|
@ -61,6 +61,18 @@ vn_env_init(void)
|
|||
{
|
||||
static once_flag once = ONCE_FLAG_INIT;
|
||||
call_once(&once, vn_env_init_once);
|
||||
|
||||
/* log per VkInstance creation */
|
||||
if (VN_DEBUG(INIT)) {
|
||||
vn_log(NULL,
|
||||
"vn_env is as below:"
|
||||
"\n\tdebug = 0x%" PRIx64 ""
|
||||
"\n\tperf = 0x%" PRIx64 ""
|
||||
"\n\tdraw_cmd_batch_limit = %u"
|
||||
"\n\trelax_base_sleep_us = %u",
|
||||
vn_env.debug, vn_env.perf, vn_env.draw_cmd_batch_limit,
|
||||
vn_env.relax_base_sleep_us);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue