bugle-stats_nv — gather performance data from NVPerfSDK
filterset stats_nv
{
flush "yes
"
}
The stats_nv
filter-set extracts data
from certain NVIDIA GPUs using NVPerfSDK. This filter-set is only
built if the appropriate header file is present at compile time,
and also requires a suitably configured driver and GPU (refer to
the NVPerfSDK documentation).
The possible statistics can be seen in the example
statistics file (doc/examples/statistics
in
the bugle source distribution). It is important to read the
NVPerfSDK documentation to understand what the different types of
statistics are, what they mean, and the limitations of the
hardware interface.
flush
If set, a glFinish(3) will be issued immediately prior to sampling the counters. This guarantees that events will be accounted to the correct frame, but will cause pipeline stalls.
Because NVPerfSDK operates across OpenGL contexts, it will count events from outside the debugged application. In particular, using bugle-showstats(7) to view the results will alter the statistics.