cxxitimer 2.0.5
A C++ library to handle linux interval timer
Loading...
Searching...
No Matches
cxxitimer.cpp File Reference
#include "cxxitimer.hpp"
#include <cmath>
#include <iostream>
#include <sysexits.h>
Include dependency graph for cxxitimer.cpp:

Go to the source code of this file.

Namespaces

namespace  cxxitimer
 

Functions

timeval & cxxitimer::operator*= (timeval &left, double right) noexcept
 
itimerval & cxxitimer::operator*= (itimerval &left, double right) noexcept
 
timeval cxxitimer::operator* (const timeval &left, double right) noexcept
 
itimerval cxxitimer::operator* (const itimerval &left, double right) noexcept
 
timeval & cxxitimer::operator/= (timeval &left, double right) noexcept
 
itimerval & cxxitimer::operator/= (itimerval &left, double right) noexcept
 
timeval cxxitimer::operator/ (const timeval &left, double right) noexcept
 
itimerval cxxitimer::operator/ (const itimerval &left, double right) noexcept
 
double cxxitimer::timeval_to_double (const timeval &time) noexcept
 
timeval cxxitimer::double_to_timeval (const double time) noexcept
 

Variables

static constexpr itimerval cxxitimer::STOP_TIMER = {}
 
constexpr auto cxxitimer::USEC_PER_SEC = static_cast<double>(1000000)