RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
bsd.h
Go to the documentation of this file.
1
9/*
10 * Copyright (c) 2015 embedded brains GmbH. All rights reserved.
11 *
12 * embedded brains GmbH
13 * Dornierstr. 4
14 * 82178 Puchheim
15 * Germany
16 * <rtems@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.org/license/LICENSE.
21 */
22
23#ifndef _RTEMS_BSD_H
24#define _RTEMS_BSD_H
25
28
29#ifdef __cplusplus
30extern "C" {
31#endif /* __cplusplus */
32
44RTEMS_INLINE_ROUTINE void rtems_bsd_bintime( struct bintime *bt )
45{
47}
48
52RTEMS_INLINE_ROUTINE void rtems_bsd_nanotime( struct timespec *ts )
53{
55}
56
60RTEMS_INLINE_ROUTINE void rtems_bsd_microtime( struct timeval *tv )
61{
63}
64
68RTEMS_INLINE_ROUTINE void rtems_bsd_binuptime( struct bintime *bt )
69{
71}
72
76RTEMS_INLINE_ROUTINE void rtems_bsd_nanouptime( struct timespec *ts )
77{
79}
80
85{
87}
88
93{
95}
96
101{
103}
104
109{
111}
112
117{
119}
120
125{
127}
128
133{
135}
136
139#ifdef __cplusplus
140}
141#endif /* __cplusplus */
142
143#endif /* _RTEMS_BSD_H */
Basic Definitions.
RTEMS_INLINE_ROUTINE void rtems_bsd_getbintime(struct bintime *bt)
Returns the wall clock time in the bintime format.
Definition: bsd.h:92
RTEMS_INLINE_ROUTINE void rtems_bsd_binuptime(struct bintime *bt)
Returns the uptime in the bintime format.
Definition: bsd.h:68
RTEMS_INLINE_ROUTINE void rtems_bsd_getnanotime(struct timespec *ts)
Returns the wall clock time in the timespec format.
Definition: bsd.h:100
RTEMS_INLINE_ROUTINE void rtems_bsd_nanotime(struct timespec *ts)
Returns the wall clock time in the timespec format.
Definition: bsd.h:52
RTEMS_INLINE_ROUTINE void rtems_bsd_bintime(struct bintime *bt)
Returns the wall clock time in the bintime format.
Definition: bsd.h:44
RTEMS_INLINE_ROUTINE void rtems_bsd_getnanouptime(struct timespec *ts)
Returns the uptime in the timespec format.
Definition: bsd.h:124
RTEMS_INLINE_ROUTINE void rtems_bsd_microtime(struct timeval *tv)
Returns the wall clock time in the timeval format.
Definition: bsd.h:60
RTEMS_INLINE_ROUTINE void rtems_bsd_microuptime(struct timeval *tv)
Returns the wall clock time in the timeval format.
Definition: bsd.h:84
RTEMS_INLINE_ROUTINE void rtems_bsd_getbinuptime(struct bintime *bt)
Returns the uptime in the bintime format.
Definition: bsd.h:116
RTEMS_INLINE_ROUTINE void rtems_bsd_getmicrouptime(struct timeval *tv)
Returns the uptime in the timeval format.
Definition: bsd.h:132
RTEMS_INLINE_ROUTINE void rtems_bsd_getmicrotime(struct timeval *tv)
Returns the wall clock time in the timeval format.
Definition: bsd.h:108
RTEMS_INLINE_ROUTINE void rtems_bsd_nanouptime(struct timespec *ts)
Returns the uptime in the timespec format.
Definition: bsd.h:76
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:66
void _Timecounter_Microtime(struct timeval *tv)
Returns the wall clock time in the timeval format.
void _Timecounter_Nanotime(struct timespec *ts)
Returns the wall clock time in the timespec format.
void _Timecounter_Getmicrouptime(struct timeval *tv)
Returns the uptime in the timeval format.
void _Timecounter_Microuptime(struct timeval *tv)
Returns the uptime in the timeval format.
void _Timecounter_Nanouptime(struct timespec *ts)
Returns the uptime in the timespec format.
void _Timecounter_Getmicrotime(struct timeval *tv)
Returns the wall clock time in the timeval format.
void _Timecounter_Binuptime(struct bintime *bt)
Returns the uptime in the bintime format.
void _Timecounter_Bintime(struct bintime *bt)
Returns the wall clock time in the bintime format.
void _Timecounter_Getbinuptime(struct bintime *bt)
Returns the uptime in the bintime format.
void _Timecounter_Getnanouptime(struct timespec *ts)
Returns the uptime in the timespec format.
void _Timecounter_Getbintime(struct bintime *bt)
Returns the wall clock time in the bintime format.
void _Timecounter_Getnanotime(struct timespec *ts)
Returns the wall clock time in the timespec format.
Timecounter API.