The PerfHUD Interposer
The PerfHUD interposer can be enabled in the target device by setting the following android property:
adb shell setprop debug.perfhudes 1
This property is not persistent. It must be re-enabled after every boot.
Application Must Have Internet Permissions
Your application must have Internet permissions enabled, so it can use the TCP/IP protocol to communicate with the host, either directly, or forwarded over adb.
PHES is intrusive, and you should be mindful of these factors in particular:
glGetError
and eglGetError
functions. In many builds these functions are called after every real gl function call, effectively doubling the function call count and the subsequent timing overhead. Disable error-checking in your profile build, and try to reduce gl calls to a minimum.
NVIDIA® GameWorks™ Documentation Rev. 1.0.211026 ©2014-2021. NVIDIA Corporation and affiliates. All Rights Reserved.