RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Functions | Variables
timetc.h File Reference

This header file provides interfaces of the timecounter implementation. More...

Go to the source code of this file.

Data Structures

struct  timecounter
 

Macros

#define TC_FLAGS_C2STOP   1 /* Timer dies in C2+. */
 
#define TC_FLAGS_SUSPEND_SAFE
 

Typedefs

typedef u_int timecounter_get_t(struct timecounter *)
 
typedef void timecounter_pps_t(struct timecounter *)
 
typedef uint32_t timecounter_fill_vdso_timehands_t(struct vdso_timehands *, struct timecounter *)
 
typedef uint32_t timecounter_fill_vdso_timehands32_t(struct vdso_timehands32 *, struct timecounter *)
 

Functions

u_int64_t tc_getfrequency (void)
 
void tc_init (struct timecounter *tc)
 
void tc_setclock (struct timespec *ts)
 
void tc_ticktock (int cnt)
 
void cpu_tick_calibration (void)
 

Variables

struct timecountertimecounter
 
int tc_min_ticktock_freq
 

Detailed Description

This header file provides interfaces of the timecounter implementation.

Macro Definition Documentation

◆ TC_FLAGS_SUSPEND_SAFE

#define TC_FLAGS_SUSPEND_SAFE
Value:
2 /*
* Timer functional across
* suspend/resume.
*/