The friendly Operating System for the Internet of Things
chrono.hpp File Reference

C++11 chrono drop in replacement that adds the function now based on xtimer/timex. More...

Detailed Description

See also
std::thread, defined in header thread
Author
Raphael Hiesgen <raphael.hiesgen (at) haw-hamburg.de>

Definition in file chrono.hpp.

#include <chrono>
#include <algorithm>
#include "time.h"
#include "xtimer.h"
+ Include dependency graph for chrono.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  riot::time_point
 A time point for timed wait, as clocks from the standard are not available on RIOT. More...
 

Functions

time_point riot::now ()
 Returns the current time saved in a time point. More...
 
bool riot::operator< (const time_point &lhs, const time_point &rhs)
 Compares two timepoints.
 
bool riot::operator> (const time_point &lhs, const time_point &rhs)
 Compares two timepoints.
 
bool riot::operator<= (const time_point &lhs, const time_point &rhs)
 Compares two timepoints.
 
bool riot::operator>= (const time_point &lhs, const time_point &rhs)
 Compare two timepoints.