Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::Util::FrameTimeRecordSet Struct Reference

#include "Util_LatencyTest2.h"

Collaboration diagram for OVR::Util::FrameTimeRecordSet:
Collaboration graph

Public Types

enum  { RecordCount = 4, RecordMask = RecordCount - 1 }
 

Public Member Functions

 FrameTimeRecordSet ()
 
void AddValue (int readValue, double timeSeconds)
 
const FrameTimeRecordoperator[] (int i) const
 
const FrameTimeRecordGetMostRecentFrame ()
 
bool FindReadbackIndex (int *i, int readbackIndex) const
 
bool IsAllZeroes () const
 

Data Fields

FrameTimeRecord Records [RecordCount]
 
int NextWriteIndex
 

Detailed Description

Definition at line 82 of file Util_LatencyTest2.h.

Member Enumeration Documentation

anonymous enum
Enumerator
RecordCount 
RecordMask 

Definition at line 84 of file Util_LatencyTest2.h.

Constructor & Destructor Documentation

OVR::Util::FrameTimeRecordSet::FrameTimeRecordSet ( )
inline

Definition at line 91 of file Util_LatencyTest2.h.

Member Function Documentation

void OVR::Util::FrameTimeRecordSet::AddValue ( int  readValue,
double  timeSeconds 
)
inline

Definition at line 97 of file Util_LatencyTest2.h.

bool OVR::Util::FrameTimeRecordSet::FindReadbackIndex ( int *  i,
int  readbackIndex 
) const
inline

Definition at line 119 of file Util_LatencyTest2.h.

const FrameTimeRecord& OVR::Util::FrameTimeRecordSet::GetMostRecentFrame ( )
inline

Definition at line 113 of file Util_LatencyTest2.h.

bool OVR::Util::FrameTimeRecordSet::IsAllZeroes ( ) const
inline

Definition at line 129 of file Util_LatencyTest2.h.

const FrameTimeRecord& OVR::Util::FrameTimeRecordSet::operator[] ( int  i) const
inline

Definition at line 108 of file Util_LatencyTest2.h.

Field Documentation

int OVR::Util::FrameTimeRecordSet::NextWriteIndex

Definition at line 89 of file Util_LatencyTest2.h.

FrameTimeRecord OVR::Util::FrameTimeRecordSet::Records[RecordCount]

Definition at line 88 of file Util_LatencyTest2.h.


The documentation for this struct was generated from the following file: