Add debugging routines for Fps
This commit is contained in:
1 parent
38aa6e9dd7
commit
24598f7f0e
3 files changed
+14
-2
No files matched your search
@@ -36,6 +36,10 @@
|
||||
#include "WidgetFrameNumber.h"
|
||||
#include "FramePropertiesSidebar.h"
|
||||
|
||||
#define _CONTROL_PLAYING_TIME_ 1
|
||||
|
||||
class QElapsedTimer;
|
||||
|
||||
namespace plaYUVer
|
||||
{
|
||||
|
||||
@@ -99,6 +103,11 @@ private:
|
||||
QTimer *m_pcPlayingTimer;
|
||||
Bool m_bIsPlaying;
|
||||
|
||||
#if( _CONTROL_PLAYING_TIME_ == 1 )
|
||||
UInt m_uiNumberPlayedFrames;
|
||||
Double m_dAverageFps;
|
||||
QElapsedTimer* m_pcPlayControlTimer;
|
||||
#endif
|
||||
|
||||
UInt64 getMaxFrameNumber();
|
||||
Void setTimerStatus();
|
||||
|
||||
Reference in new issue
Block a user