openthread-br  0.3.0-72c0388
Typedefs | Functions
time.hpp File Reference
#include "openthread-br/config.h"
#include <chrono>
#include <stdint.h>
#include <sys/time.h>

Go to the source code of this file.

Typedefs

using otbr::Seconds = std::chrono::seconds
 
using otbr::Milliseconds = std::chrono::milliseconds
 
using otbr::Microseconds = std::chrono::microseconds
 
using otbr::Clock = std::chrono::steady_clock
 
using otbr::Timepoint = Clock::time_point
 

Functions

template<class D >
otbr::FromTimeval (const timeval &aTime)
 
template<class D >
timeval otbr::ToTimeval (const D &aDuration)
 

Detailed Description

This file includes definitions for time functions.