11 #include "threads/CriticalSection.h"    12 #include "threads/Event.h"    13 #include "threads/Thread.h"    25     int64_t GetTime(
bool interpolated = 
true);
    26     void    SetSpeed(
double Speed);
    28     double  GetRefreshRate(
double* interval = 
nullptr);
    29     bool    GetClockInfo(
int& MissedVblanks, 
double& ClockSpeed, 
double& RefreshRate) 
const;
    31     void UpdateClock(
int NrVBlanks, uint64_t time);
    34     void    Process() 
override;
    36     void    UpdateRefreshrate();
    37     void UpdateClockInternal(
int NrVBlanks, 
bool CheckMissed);
    38     double  UpdateInterval() 
const;
    39     int64_t TimeOfNextVblank() 
const;
    42     int64_t m_LastIntTime;       
    43     double  m_CurrTimeFract;     
    45     int64_t m_SystemFrequency;   
    50     int     m_TotalMissedVblanks;
    55     mutable CCriticalSection m_CritSection;
    57     std::unique_ptr<CVideoSync> m_pVideoSync;
 This is an Event class built from a ConditionVariable. 
Definition: Event.h:35
Definition: VideoReferenceClock.h:19
Definition: VideoSync.h:15