summaryrefslogtreecommitdiff
path: root/PACE/pace/sys/times.h
blob: ea74055dc62f2985aca0c7447e9aa8348fa09901 (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* $Id$

 * ============================================================================
 *
 * = LIBRARY
 *    pace
 *
 * = FILENAME
 *    pace/sys/times.h
 *
 * = AUTHOR
 *    Luther Baker
 *
 * ============================================================================ */

#ifndef PACE_SYS_TIMES_H
#define PACE_SYS_TIMES_H

#include "pace/config/defines.h"

#if (PACE_HAS_POSIX)
# include "pace/posix/times.h"
#elif (PACE_VXWORKS)
# include "pace/vxworks/times.h"
#elif (PACE_WIN32)
# include "pace/win32/times.h"
#endif

#if defined (PACE_HAS_CPLUSPLUS)
extern "C" {
#endif /* PACE_HAS_CPLUSPLUS */

#if (PACE_HAS_POSIX_MP_UOF)
  PACE_INLINE pace_clock_t pace_times (pace_tms * buffer);
#endif /* PACE_HAS_POSIX_MP_UOF */

#if defined (PACE_HAS_INLINE)
#  if (PACE_HAS_POSIX)
#    include "pace/posix/times.inl"
#  elif (PACE_VXWORKS)
#    include "pace/vxworks/times.inl"
#  elif (PACE_WIN32)
#    include "pace/win32/times.inl"
#  endif
#endif /* PACE_HAS_INLINE */

#if defined (PACE_HAS_CPLUSPLUS)
}
#endif /* PACE_HAS_CPLUSPLUS */

#endif /* PACE_SYS_TIMES_H */