Skyward boardcore
Loading...
Searching...
No Matches
TimeUtils.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Boardcore
 This file includes all the types the logdecoder script will decode.
 
namespace  Boardcore::Constants
 

Functions

constexpr long long Boardcore::nsToUs (long long ns)
 Convert nanoseconds to microseconds.
 
constexpr long long Boardcore::nsToMs (long long ns)
 Convert nanoseconds to milliseconds.
 
constexpr long long Boardcore::msToNs (long long ms)
 Convert milliseconds to nanoseconds.
 
constexpr long long Boardcore::sToNs (long long s)
 Convert seconds to nanoseconds.
 

Variables

constexpr long long Boardcore::Constants::NS_IN_US = 1000ll
 
constexpr long long Boardcore::Constants::NS_IN_MS = 1000000ll
 
constexpr long long Boardcore::Constants::NS_IN_S = 1000000000ll