PerfHUD ES Trace Counters

 

Trace Counter Meaning
wait CPU
wait 3D
wait 2D
The set of counters to measure how much time is spent on the sync point waiting inside the gles2 driver. Current time is obtained before the driver calls wait sync point API, and the current time is obtained again after the API has returned. Diff contributes the counter value.
Draw APIs This is a set of the driver time API, which is timed like the following:
Time start = getCurrentTime(); //Driver API
glDrawElements(...);
Time diff = getCurrentTime() - start;

Diff contributes to the counter. The driver time counter is made up of all the APIs to be timed. You can also check to see which APIs contribute to a counter by examining the XML configuration file. This is located by default at <user>\Local\NVIDIA Corporation\NVIDIA PerfHUD ES Tegra\default.xml.
D
CPU Load The load between current frames. If CPU frequency scaling information is properly read (note that it may not be present for some devices), the load will be scaled with the CPU's current frequency versus the maximum frequency, to get absolute load. Otherwise, the value is the same for any CPU monitor, but based on frame interval rather than time.
Frame Time The interval between two adjacent frames, defined by the frame delimiter.
Upload APIs The sum of the following API timings in the current frame:
glTexImage2D 
glTexImage3DOES
glCompressedTexImage3DOES
glCompressedTexImage2D
glCompressedTexSubImage2D
glTexSubImage2D
glTexSubImage3DOES
glCompressedTexSubImage3DOES
glBufferData
glBufferSubData
glMapBufferOES
glUnmapBufferOES

For a single API timing, it is obtained as the following:

Time start = getCurrentTime(); //Driver API
glXXX(...);
Time diff = getCurrentTime() - start;

This displays the driver API CPU time. You can always find the exact APIs contributing to this counter by looking for "Generic Driver Time Counter 1" in the above XML file.

Wait APIs The sum of the following API timings in the current frame:
glFinish
glFlush
eglWaitGL
eglWaitNative
eglSwapBuffers
eglWaitClient

This displays the driver API CPU time.You can always find the exact APIs contributing to this counter by looking for "Generic Driver Time Counter 2" in the above XML file.

Texture APIs The sum of the following API timings in the current frame:
glteximage2d
glteximage3does
glcompressedteximage3does
glcompressedteximage2d
glcompressedtexsubimage2d
gltexsubimage2d
gltexsubimage3does
glcompressedtexsubimage3does

This displays the driver API CPU time.You can always find the exact APIs contributing to this counter by looking for "Generic Driver Time Counter 3" in the above XML file.

 


NVIDIA® GameWorks™ Documentation Rev. 1.0.211026 ©2014-2021. NVIDIA Corporation and affiliates. All Rights Reserved.