This is a special type of PStatTimer that also uses a timer query on the GSG to measure how long a task actually takes to execute on the GPU, rather than how long it took for the API commands to be queued up. More...
#include "pStatGPUTimer.h"
Public Member Functions | |
PStatGPUTimer (GraphicsStateGuardian *, PStatCollector &col) | |
PStatGPUTimer (GraphicsStateGuardian *, PStatCollector &col, Thread *) | |
Public Member Functions inherited from PStatTimer | |
PStatTimer (PStatCollector &) | |
PStatTimer (PStatCollector &, Thread *) | |
This is a special type of PStatTimer that also uses a timer query on the GSG to measure how long a task actually takes to execute on the GPU, rather than how long it took for the API commands to be queued up.
This class may only be used on the draw thread.
At present, it tracks both the CPU time (like a regular PStatTimer does) and the GPU time, which is recorded using a special PStatThread.
Definition at line 36 of file pStatGPUTimer.h.