blob: a69e9bf0623edaaf4d2cb43f87898b9587529956 [file] [log] [blame]
Brian Silverman8fce7482020-01-05 13:18:21 -08001/*----------------------------------------------------------------------------*/
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
14namespace hal {
15void RestartTiming();
16
17void PauseTiming();
18
19void ResumeTiming();
20
21bool IsTimingPaused();
22
23void StepTiming(uint64_t delta);
24
25int64_t GetFPGATime();
26
27double GetFPGATimestamp();
28
29void SetProgramStarted();
30} // namespace hal