aboutsummaryrefslogtreecommitdiffstats
path: root/LibOVR/Src/Tracking/Tracking_SensorState.h
diff options
context:
space:
mode:
Diffstat (limited to 'LibOVR/Src/Tracking/Tracking_SensorState.h')
-rw-r--r--LibOVR/Src/Tracking/Tracking_SensorState.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/LibOVR/Src/Tracking/Tracking_SensorState.h b/LibOVR/Src/Tracking/Tracking_SensorState.h
index 12072c0..b7c87ea 100644
--- a/LibOVR/Src/Tracking/Tracking_SensorState.h
+++ b/LibOVR/Src/Tracking/Tracking_SensorState.h
@@ -89,6 +89,11 @@ public:
// Sensor status described by ovrStatusBits.
uint32_t StatusFlags;
+
+ //// 0.4.1
+
+ // Time spent processing the last vision frame
+ double LastVisionProcessingTime;
};
@@ -110,6 +115,7 @@ struct LocklessSensorState
// ImuFromCpf for HMD pose tracking
Posed ImuFromCpf;
+ double LastVisionProcessingTime;
// Initialized to invalid state
LocklessSensorState() :
@@ -119,7 +125,7 @@ struct LocklessSensorState
LocklessSensorState& operator = (const LocklessSensorStatePadding& rhs);
};
-
+
// Padded out version stored in the updater slots
// Designed to be a larger fixed size to allow the data to grow in the future
// without breaking older compiled code.