29 #include "../OVR_CAPI.h"
30 #include "../Kernel/OVR_Log.h"
31 #include "../Kernel/OVR_Timer.h"
34 namespace OVR {
namespace Util {
43 , LatencyMeasuredInSeconds(-1)
44 , LastPixelReadMsg(
NULL)
46 , NumMsgsBeforeSettle(0)
47 , NumTestsSuccessful(0)
131 int readbackIndex = 0;
180 pLatencyTestUtil->handleMessage(static_cast<const MessagePixelRead&>(msg));
Ptr< SensorDevice > HmdDevice
OVR_EXPORT double ovr_GetTimeInSeconds()
virtual void OnMessage(const Message &msg)
Ptr< LatencyTestDevice > LatencyTesterDev
MessagePixelRead LastPixelReadMsg
void BeginTest(double startTime=-1.0f)
static bool ColorToReadbackIndex(int *readbackIndex, unsigned char color)
LocklessUpdater< FrameTimeRecordSet > LockessRecords
void AddValue(int readValue, double timeSeconds)
LatencyTest2(SensorDevice *device=NULL)
FrameTimeRecordSet RecentFrameSet
UInt32 RawLatencyMeasured
double LatencyMeasuredInSeconds
bool DisplayScreenColor(Color &colorToDisplay)
unsigned int RawStartTiming
bool SetDisplayDevice(LatencyTestDevice *device)
void handleMessage(const MessagePixelRead &msg)
void RemoveHandlerFromDevices()
unsigned char RenderColorValue
bool SetSensorDevice(SensorDevice *device)
unsigned int NumTestsSuccessful