nngn
Loading...
Searching...
No Matches
timing.cpp File Reference
#include "timing.h"
Include dependency graph for timing.cpp:

Namespaces

namespace  nngn
 

Typedefs

using ns = std::chrono::nanoseconds
 
using us = std::chrono::microseconds
 
using ms = std::chrono::milliseconds
 
using s = std::chrono::seconds
 
template<typename T >
using fd = std::chrono::duration<float, typename T::period>
 
using rep = nngn::Timing::duration::rep
 

Functions

template<typename D >
static auto nngn::now (const Timing &t)
 
template<typename D >
static auto nngn::fnow (const Timing &t)
 
template<typename D >
static auto nngn::dt (const Timing &t)
 
template<typename D >
static auto nngn::fdt (const Timing &t)
 

Typedef Documentation

◆ fd

template<typename T >
using fd = std::chrono::duration<float, typename T::period>

◆ ms

using ms = std::chrono::milliseconds

◆ ns

using ns = std::chrono::nanoseconds

◆ rep

using rep = nngn::Timing::duration::rep

◆ s

if i & s = std::chrono::seconds

◆ us

using us = std::chrono::microseconds