Merge "Keep Notifier firing after FPGA rollover (fixes artf3582), simulation may still have an issue with counter rollover"

This commit is contained in:
Brad Miller (WPI)
2014-10-24 11:07:09 -07:00
committed by Gerrit Code Review
3 changed files with 8 additions and 4 deletions

View File

@@ -35,6 +35,9 @@ public:
static double GetFPGATimestamp();
static double GetPPCTimestamp();
static double GetMatchTime();
// The time, in seconds, at which the 32-bit FPGA timestamp rolls over to 0
static constexpr double kRolloverTime = (1ll << 32) / 1e6;
private:
double m_startTime;