Bike-X
0.8
|
#include "Util_LatencyTest2.h"
Data Structures | |
class | PixelReadHandler |
Public Member Functions | |
LatencyTest2 (SensorDevice *device=NULL) | |
~LatencyTest2 () | |
bool | SetSensorDevice (SensorDevice *device) |
bool | SetDisplayDevice (LatencyTestDevice *device) |
bool | HasDisplayDevice () const |
bool | HasDevice () const |
bool | DisplayScreenColor (Color &colorToDisplay) |
void | BeginTest (double startTime=-1.0f) |
bool | IsMeasuringNow () const |
double | GetMeasuredLatency () const |
FrameTimeRecordSet | GetLocklessState () |
Private Types | |
enum | LatencyTestMessageType { LatencyTest_None, LatencyTest_Timer, LatencyTest_ProcessInputs } |
Private Member Functions | |
LatencyTest2 * | getThis () |
void | handleMessage (const MessagePixelRead &msg) |
Private Attributes | |
PixelReadHandler | Handler |
Ptr< SensorDevice > | HmdDevice |
Ptr< LatencyTestDevice > | LatencyTesterDev |
Lock | TesterLock |
bool | TestActive |
unsigned char | RenderColorValue |
MessagePixelRead | LastPixelReadMsg |
double | StartTiming |
unsigned int | RawStartTiming |
UInt32 | RawLatencyMeasured |
double | LatencyMeasuredInSeconds |
int | NumMsgsBeforeSettle |
unsigned int | NumTestsSuccessful |
FrameTimeRecordSet | RecentFrameSet |
LocklessUpdater < FrameTimeRecordSet > | LockessRecords |
Definition at line 165 of file Util_LatencyTest2.h.
|
private |
Enumerator | |
---|---|
LatencyTest_None | |
LatencyTest_Timer | |
LatencyTest_ProcessInputs |
Definition at line 194 of file Util_LatencyTest2.h.
OVR::Util::LatencyTest2::LatencyTest2 | ( | SensorDevice * | device = NULL | ) |
Definition at line 39 of file Util_LatencyTest2.cpp.
OVR::Util::LatencyTest2::~LatencyTest2 | ( | ) |
Definition at line 55 of file Util_LatencyTest2.cpp.
void OVR::Util::LatencyTest2::BeginTest | ( | double | startTime = -1.0f | ) |
Definition at line 101 of file Util_LatencyTest2.cpp.
bool OVR::Util::LatencyTest2::DisplayScreenColor | ( | Color & | colorToDisplay | ) |
Definition at line 183 of file Util_LatencyTest2.cpp.
|
inline |
Definition at line 189 of file Util_LatencyTest2.h.
|
inline |
Definition at line 186 of file Util_LatencyTest2.h.
|
inlineprivate |
Definition at line 192 of file Util_LatencyTest2.h.
|
private |
Definition at line 123 of file Util_LatencyTest2.cpp.
|
inline |
Definition at line 178 of file Util_LatencyTest2.h.
|
inline |
Definition at line 177 of file Util_LatencyTest2.h.
|
inline |
Definition at line 185 of file Util_LatencyTest2.h.
bool OVR::Util::LatencyTest2::SetDisplayDevice | ( | LatencyTestDevice * | device | ) |
Definition at line 83 of file Util_LatencyTest2.cpp.
bool OVR::Util::LatencyTest2::SetSensorDevice | ( | SensorDevice * | device | ) |
Definition at line 63 of file Util_LatencyTest2.cpp.
|
private |
Definition at line 212 of file Util_LatencyTest2.h.
|
private |
Definition at line 214 of file Util_LatencyTest2.h.
|
private |
Definition at line 220 of file Util_LatencyTest2.h.
|
private |
Definition at line 224 of file Util_LatencyTest2.h.
|
private |
Definition at line 215 of file Util_LatencyTest2.h.
|
private |
Definition at line 231 of file Util_LatencyTest2.h.
|
private |
Definition at line 225 of file Util_LatencyTest2.h.
|
private |
Definition at line 226 of file Util_LatencyTest2.h.
|
private |
Definition at line 223 of file Util_LatencyTest2.h.
|
private |
Definition at line 222 of file Util_LatencyTest2.h.
|
private |
Definition at line 230 of file Util_LatencyTest2.h.
|
private |
Definition at line 219 of file Util_LatencyTest2.h.
|
private |
Definition at line 221 of file Util_LatencyTest2.h.
|
private |
Definition at line 218 of file Util_LatencyTest2.h.
|
private |
Definition at line 217 of file Util_LatencyTest2.h.