2020-12-26 14:12:05 -08:00
|
|
|
// Copyright (c) FIRST and other WPILib contributors.
|
|
|
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
|
|
|
|
// the WPILib BSD license file in the root directory of this project.
|
2017-06-30 18:58:58 -07:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2017-08-18 21:35:53 -07:00
|
|
|
#include <stdint.h>
|
2017-06-30 18:58:58 -07:00
|
|
|
|
2020-06-27 22:11:24 -07:00
|
|
|
#include "hal/simulation/MockHooks.h"
|
2017-08-18 21:35:53 -07:00
|
|
|
|
|
|
|
|
namespace hal {
|
|
|
|
|
void RestartTiming();
|
|
|
|
|
|
2019-11-10 20:54:25 -08:00
|
|
|
void PauseTiming();
|
|
|
|
|
|
|
|
|
|
void ResumeTiming();
|
|
|
|
|
|
|
|
|
|
bool IsTimingPaused();
|
|
|
|
|
|
|
|
|
|
void StepTiming(uint64_t delta);
|
|
|
|
|
|
2020-08-06 23:03:42 -07:00
|
|
|
uint64_t GetFPGATime();
|
2017-08-18 21:35:53 -07:00
|
|
|
|
|
|
|
|
double GetFPGATimestamp();
|
|
|
|
|
|
|
|
|
|
void SetProgramStarted();
|
2017-10-16 19:56:08 -07:00
|
|
|
} // namespace hal
|