CTRE Phoenix 6 C++ 25.0.0-beta-4
Loading...
Searching...
No Matches
TimeUtil.hpp File Reference
#include <thread>
#include <chrono>

Go to the source code of this file.

Namespaces

namespace  ctre
 
namespace  ctre::phoenix
 
namespace  ctre::phoenix::platform
 

Functions

static void ctre::phoenix::platform::SleepUs (int timeUs)
 
std::chrono::steady_clock::duration ctre::phoenix::platform::CurrentTimeRaw ()
 The raw current time source.
 
template<typename DURATION = std::chrono::microseconds>
static auto ctre::phoenix::platform::CurrentTime ()
 Returns the current time of the system, converted to the given duration.
 
template<typename DURATION = std::chrono::microseconds>
static auto ctre::phoenix::platform::SystemTime ()
 Returns the monotonic time of the system, converted to the given duration.