blob: a69e9bf0623edaaf4d2cb43f87898b9587529956 [file] [log] [blame]
Brian Silverman41cdd3e2019-01-19 19:48:58 -08001/*----------------------------------------------------------------------------*/
James Kuszmaul4b81d302019-12-14 20:53:14 -08002/* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */
Brian Silverman41cdd3e2019-01-19 19:48:58 -08003/* 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
14namespace hal {
15void RestartTiming();
16
James Kuszmaul4b81d302019-12-14 20:53:14 -080017void PauseTiming();
18
19void ResumeTiming();
20
21bool IsTimingPaused();
22
23void StepTiming(uint64_t delta);
24
Brian Silverman41cdd3e2019-01-19 19:48:58 -080025int64_t GetFPGATime();
26
27double GetFPGATimestamp();
28
29void SetProgramStarted();
30} // namespace hal