mn_micros.hpp File Reference
#include "mn_config.hpp"
#include <sys/time.h>
#include <time.h>

Go to the source code of this file.

Namespaces

 mn
 

Functions

unsigned long mn::micros ()
 
unsigned long mn::millis ()
 
unsigned int mn::get_ticks ()
 
unsigned int mn::ticks_to_ms (unsigned int ticks) MN_DEPRECATED
 
unsigned int mn::ms_to_ticks (unsigned int ms) MN_DEPRECATED
 
unsigned int mn::seconds_to_ticks (unsigned int ms) MN_DEPRECATED
 
unsigned int mn::time_to_ms (const struct timeval *time) MN_DEPRECATED
 
unsigned int mn::time_to_ticks (const struct timeval *time) MN_DEPRECATED
 
static struct timeval mn::operator- (const struct timeval &lhs, const struct timeval &rhs)
 
static struct timeval mn::operator+ (const struct timeval &lhs, const struct timeval &rhs)
 

Detailed Description

This file is part of the Mini Thread Library (https://github.com/RoseLeBlood/MiniThread ).

Author
Copyright (c) 2021 Amber-Sophia Schroeck
License
The Mini Thread Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3, or (at your option) any later version.

The Mini Thread Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with the Mini Thread Library; if not, see https://www.gnu.org/licenses/.