This source file includes following definitions.
- pmix_sys_timer_is_monotonic
   1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 
  10 
  11 
  12 
  13 
  14 
  15 
  16 
  17 
  18 
  19 
  20 
  21 
  22 
  23 
  24 
  25 
  26 
  27 
  28 
  29 
  30 #ifndef PMIX_SYS_TIMER_H
  31 #define PMIX_SYS_TIMER_H 1
  32 
  33 #include "pmix_config.h"
  34 
  35 #include "src/atomics/sys/architecture.h"
  36 
  37 #ifdef HAVE_SYS_TYPES_H
  38 #include <sys/types.h>
  39 #endif
  40 
  41 
  42 
  43 #ifdef PMIX_DISABLE_INLINE_ASM
  44 #undef PMIX_C_GCC_INLINE_ASSEMBLY
  45 #define PMIX_C_GCC_INLINE_ASSEMBLY 0
  46 #endif
  47 
  48 
  49 
  50 
  51 #if defined(c_plusplus) || defined(__cplusplus)
  52 #define PMIX_GCC_INLINE_ASSEMBLY PMIX_CXX_GCC_INLINE_ASSEMBLY
  53 #else
  54 #define PMIX_GCC_INLINE_ASSEMBLY PMIX_C_GCC_INLINE_ASSEMBLY
  55 #endif
  56 
  57 
  58 
  59 
  60 
  61 
  62 
  63 
  64 
  65 #define PMIX_TIMER_MONOTONIC 1
  66 
  67 BEGIN_C_DECLS
  68 
  69 
  70 
  71 
  72 #if defined(DOXYGEN)
  73 
  74 #elif PMIX_ASSEMBLY_ARCH == PMIX_X86_64
  75 #include "src/atomics/sys/x86_64/timer.h"
  76 #elif PMIX_ASSEMBLY_ARCH == PMIX_ARM
  77 #include "src/atomics/sys/arm/timer.h"
  78 #elif PMIX_ASSEMBLY_ARCH == PMIX_ARM64
  79 #include "src/atomics/sys/arm64/timer.h"
  80 #elif PMIX_ASSEMBLY_ARCH == PMIX_IA32
  81 #include "src/atomics/sys/ia32/timer.h"
  82 #elif PMIX_ASSEMBLY_ARCH == PMIX_IA64
  83 #include "src/atomics/sys/ia64/timer.h"
  84 #elif PMIX_ASSEMBLY_ARCH == PMIX_POWERPC32
  85 #include "src/atomics/sys/powerpc/timer.h"
  86 #elif PMIX_ASSEMBLY_ARCH == PMIX_POWERPC64
  87 #include "src/atomics/sys/powerpc/timer.h"
  88 #elif PMIX_ASSEMBLY_ARCH == PMIX_SPARCV9_32
  89 #include "src/atomics/sys/sparcv9/timer.h"
  90 #elif PMIX_ASSEMBLY_ARCH == PMIX_SPARCV9_64
  91 #include "src/atomics/sys/sparcv9/timer.h"
  92 #elif PMIX_ASSEMBLY_ARCH == PMIX_MIPS
  93 #include "src/atomics/sys/mips/timer.h"
  94 #endif
  95 
  96 #ifndef DOXYGEN
  97 #ifndef PMIX_HAVE_SYS_TIMER_GET_CYCLES
  98 #define PMIX_HAVE_SYS_TIMER_GET_CYCLES 0
  99 
 100 typedef long pmix_timer_t;
 101 #endif
 102 #endif
 103 
 104 #ifndef PMIX_HAVE_SYS_TIMER_IS_MONOTONIC
 105 
 106 #define PMIX_HAVE_SYS_TIMER_IS_MONOTONIC 1
 107 
 108 static inline bool pmix_sys_timer_is_monotonic (void)
 109 {
 110     return PMIX_TIMER_MONOTONIC;
 111 }
 112 
 113 #endif
 114 
 115 END_C_DECLS
 116 
 117 #endif