RTEMS  5.1
Files | Functions
BSD Compatibility Support

Files

file  bsd.h
 BSD Compatibility API.
 

Functions

RTEMS_INLINE_ROUTINE void rtems_bsd_bintime (struct bintime *bt)
 Returns the wall clock time in the bintime format. More...
 
RTEMS_INLINE_ROUTINE void rtems_bsd_nanotime (struct timespec *ts)
 Returns the wall clock time in the timespec format. More...
 
RTEMS_INLINE_ROUTINE void rtems_bsd_microtime (struct timeval *tv)
 Returns the wall clock time in the timeval format. More...
 
RTEMS_INLINE_ROUTINE void rtems_bsd_binuptime (struct bintime *bt)
 Returns the uptime in the bintime format. More...
 
RTEMS_INLINE_ROUTINE void rtems_bsd_nanouptime (struct timespec *ts)
 Returns the uptime in the timespec format. More...
 
RTEMS_INLINE_ROUTINE void rtems_bsd_microuptime (struct timeval *tv)
 Returns the wall clock time in the timeval format. More...
 
RTEMS_INLINE_ROUTINE void rtems_bsd_getbintime (struct bintime *bt)
 Returns the wall clock time in the bintime format. More...
 
RTEMS_INLINE_ROUTINE void rtems_bsd_getnanotime (struct timespec *ts)
 Returns the wall clock time in the timespec format. More...
 
RTEMS_INLINE_ROUTINE void rtems_bsd_getmicrotime (struct timeval *tv)
 Returns the wall clock time in the timeval format. More...
 
RTEMS_INLINE_ROUTINE void rtems_bsd_getbinuptime (struct bintime *bt)
 Returns the uptime in the bintime format. More...
 
RTEMS_INLINE_ROUTINE void rtems_bsd_getnanouptime (struct timespec *ts)
 Returns the uptime in the timespec format. More...
 
RTEMS_INLINE_ROUTINE void rtems_bsd_getmicrouptime (struct timeval *tv)
 Returns the uptime in the timeval format. More...
 

Detailed Description

Function Documentation

◆ rtems_bsd_bintime()

RTEMS_INLINE_ROUTINE void rtems_bsd_bintime ( struct bintime *  bt)

Returns the wall clock time in the bintime format.

Parameters
[out]btReturns the wall clock time.

◆ rtems_bsd_binuptime()

RTEMS_INLINE_ROUTINE void rtems_bsd_binuptime ( struct bintime *  bt)

Returns the uptime in the bintime format.

Parameters
[out]btReturns the uptime.

◆ rtems_bsd_getbintime()

RTEMS_INLINE_ROUTINE void rtems_bsd_getbintime ( struct bintime *  bt)

Returns the wall clock time in the bintime format.

This function obtains the time with a lower overhead and lower accuracy compared to the _Timecounter_Bintime() variant.

Parameters
[out]tsReturns the wall clock time.

◆ rtems_bsd_getbinuptime()

RTEMS_INLINE_ROUTINE void rtems_bsd_getbinuptime ( struct bintime *  bt)

Returns the uptime in the bintime format.

This function obtains the time with a lower overhead and lower accuracy compared to the _Timecounter_Binuptime() variant.

Parameters
[out]tsReturns the uptime.

◆ rtems_bsd_getmicrotime()

RTEMS_INLINE_ROUTINE void rtems_bsd_getmicrotime ( struct timeval *  tv)

Returns the wall clock time in the timeval format.

This function obtains the time with a lower overhead and lower accuracy compared to the _Timecounter_Microtime() variant.

Parameters
[out]tvReturns the wall clock time.
See also
_Timecounter_Getbintime().

◆ rtems_bsd_getmicrouptime()

RTEMS_INLINE_ROUTINE void rtems_bsd_getmicrouptime ( struct timeval *  tv)

Returns the uptime in the timeval format.

This function obtains the time with a lower overhead and lower accuracy compared to the _Timecounter_Microuptime() variant.

Parameters
[out]tvReturns the uptime.

◆ rtems_bsd_getnanotime()

RTEMS_INLINE_ROUTINE void rtems_bsd_getnanotime ( struct timespec *  ts)

Returns the wall clock time in the timespec format.

This function obtains the time with a lower overhead and lower accuracy compared to the _Timecounter_Nanotime() variant.

Parameters
[out]tsReturns the wall clock time.
See also
_Timecounter_Getbintime().

◆ rtems_bsd_getnanouptime()

RTEMS_INLINE_ROUTINE void rtems_bsd_getnanouptime ( struct timespec *  ts)

Returns the uptime in the timespec format.

This function obtains the time with a lower overhead and lower accuracy compared to the _Timecounter_Nanouptime() variant.

Parameters
[out]tsReturns the uptime.

◆ rtems_bsd_microtime()

RTEMS_INLINE_ROUTINE void rtems_bsd_microtime ( struct timeval *  tv)

Returns the wall clock time in the timeval format.

Parameters
[out]tvReturns the wall clock time.

◆ rtems_bsd_microuptime()

RTEMS_INLINE_ROUTINE void rtems_bsd_microuptime ( struct timeval *  tv)

Returns the wall clock time in the timeval format.

Parameters
[out]tvReturns the wall clock time.

◆ rtems_bsd_nanotime()

RTEMS_INLINE_ROUTINE void rtems_bsd_nanotime ( struct timespec *  ts)

Returns the wall clock time in the timespec format.

Parameters
[out]tsReturns the wall clock time.

◆ rtems_bsd_nanouptime()

RTEMS_INLINE_ROUTINE void rtems_bsd_nanouptime ( struct timespec *  ts)

Returns the uptime in the timespec format.

Parameters
[out]tsReturns the uptime.