|
ACE 8.0.0
|
#include "ace/config-all.h"#include "ace/Basic_Types.h"#include "ace/os_include/os_time.h"#include "ace/OS_NS_errno.h"Namespaces | |
| namespace | ACE_OS |
| This namespace defines an OS independent programming API that shields developers from nonportable aspects of writing efficient system programs on Win32, POSIX and other versions of UNIX, and various real-time operating systems. | |
Macros | |
| #define | ACE_EXPORT_MACRO ACE_Export |
| #define | ACE_HRTIME_CONVERSION(VAL) (VAL) |
| #define | ACE_HRTIME_TO_U64(VAL) (VAL) |
| #define | ACE_GETHRTIME_NAME ACE_gethrtime |
Typedefs | |
| typedef unsigned __int64 | ACE_hrtime_t |
Enumerations | |
| enum | ACE_OS::ACE_HRTimer_Op { ACE_OS::ACE_HRTIMER_START = 0x0 , ACE_OS::ACE_HRTIMER_INCR = 0x1 , ACE_OS::ACE_HRTIMER_STOP = 0x2 , ACE_OS::ACE_HRTIMER_GETTIME = 0xFFFF } |
Variables | |
| static constexpr ACE_UINT32 | ACE_U_ONE_SECOND_IN_MSECS = 1000U |
| static constexpr ACE_UINT32 | ACE_U_ONE_SECOND_IN_USECS = 1000000U |
| static constexpr ACE_UINT32 | ACE_U_ONE_SECOND_IN_NSECS = 1000000000U |
| #define ACE_EXPORT_MACRO ACE_Export |
| #define ACE_GETHRTIME_NAME ACE_gethrtime |
Helper for the ACE_OS::difftime() function.
We moved the difftime code that used to be in ACE_OS::difftime() here because on some platforms "difftime" is a macro. Because of this, the name ACE_OS::difftime will cause errors. So in order to use the macro as it is defined but also keep the name ACE_OS::difftime, we use difftime first here in this inline function, and then undefine it.
|
inline |
Helper for the ACE_OS::timezone() function.
We put all the timezone stuff that used to be in ACE_OS::timezone() here because on some platforms "timezone" is a macro. Because of this, the name ACE_OS::timezone will cause errors. So in order to use the macro as it is defined but also keep the name ACE_OS::timezone, we use timezone first here in this inline function, and then undefine timezone.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |