Brian Silverman | 8fce748 | 2020-01-05 13:18:21 -0800 | [diff] [blame] | 1 | /*----------------------------------------------------------------------------*/ |
| 2 | /* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */ |
| 3 | /* Open Source Software - may be modified and shared by FRC teams. The code */ |
| 4 | /* must be accompanied by the FIRST BSD license file in the root directory of */ |
| 5 | /* the project. */ |
| 6 | /*----------------------------------------------------------------------------*/ |
| 7 | |
| 8 | #pragma once |
| 9 | |
| 10 | #include <stdint.h> |
| 11 | |
| 12 | #include "mockdata/MockHooks.h" |
| 13 | |
| 14 | namespace hal { |
| 15 | void RestartTiming(); |
| 16 | |
| 17 | void PauseTiming(); |
| 18 | |
| 19 | void ResumeTiming(); |
| 20 | |
| 21 | bool IsTimingPaused(); |
| 22 | |
| 23 | void StepTiming(uint64_t delta); |
| 24 | |
| 25 | int64_t GetFPGATime(); |
| 26 | |
| 27 | double GetFPGATimestamp(); |
| 28 | |
| 29 | void SetProgramStarted(); |
| 30 | } // namespace hal |