Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
time.h
Go to the documentation of this file.
1#pragma once
2#include <misc/global.h>
3#include <ostream>
4
5namespace sf
6{
7
13_MISC_FUNC int timespecCompare(const timespec& ts1, const timespec& ts2);
14
20_MISC_FUNC timespec getTime(bool real_time = false);
21
22}// namespace sf
#define _MISC_FUNC
Definition misc/global.h:39
Definition Application.h:10
_MISC_FUNC int timespecCompare(const timespec &ts1, const timespec &ts2)
Compares the 2 'timespec' time structures. Helper function.
_MISC_FUNC timespec getTime(bool real_time=false)
Gets the timespec as function return value as clock_gettime() for the current time.