functions.hpp
Go to the documentation of this file.
1 
15 /*****************************************************************************
16 ** Ifdefs
17 *****************************************************************************/
18 
19 #ifndef ECL_TIME_LITE_FUNCTIONS_HPP_
20 #define ECL_TIME_LITE_FUNCTIONS_HPP_
21 
22 /*****************************************************************************
23 ** Includes
24 *****************************************************************************/
25 
26 #include <ctime>
27 #include <ecl/config/macros.hpp>
28 #include <ecl/time_lite/config.hpp>
29 
30 /*****************************************************************************
31 ** Includes
32 *****************************************************************************/
33 
34 #if defined(ECL_HAS_MACH_TIMERS)
35  #include "functions_mac.hpp"
36 #elif defined(ECL_HAS_RT_TIMERS)
37  // monotonic clock -> clock_gettime; clock_selection -> clock_nanosleep
38  // #if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK) >= 0L && defined(_POSIX_CLOCK_SELECTION) && (_POSIX_CLOCK_SELECTION) >= 0L
39  #include "functions_rt.hpp"
40 #elif defined(ECL_HAS_POSIX_TIMERS)
41  #include "functions_pos.hpp"
42 #elif defined(ECL_HAS_WIN_TIMERS)
43  // basic system time functions (horrid resolution and little functionality!)
44  #include "functions_win.hpp"
45 #else
46  #error("There is not a supporting time implementation on this platform (possibly needs extended ecl support).")
47 #endif
48 
49 #endif /* ECL_TIME_LITE_FUNCTIONS_HPP_ */
functions_win.hpp
Windows interfaces for ecl time functions.
functions_pos.hpp
Simple posix implementation of ecl time functions.
functions_mac.hpp
Mach implementation of ecl time functions.
macros.hpp
functions_rt.hpp
Real-time implementation of ecl time functions.


ecl_time_lite
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:13:57