mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
- Remove status return from HAL level (clock getting should never fail) - Remove 32-bit timestamp expand function - Make monotonic_clock.hpp (formerly fpga_clock.hpp) header-only and move to root hal include directory
24 lines
461 B
C++
24 lines
461 B
C++
// 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.
|
|
|
|
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace wpi::hal {
|
|
void RestartTiming();
|
|
|
|
void PauseTiming();
|
|
|
|
void ResumeTiming();
|
|
|
|
bool IsTimingPaused();
|
|
|
|
void StepTiming(uint64_t delta);
|
|
|
|
uint64_t GetMonotonicTime();
|
|
|
|
void SetProgramStarted();
|
|
} // namespace wpi::hal
|