BeRTOS
Defines
timer_posix.h File Reference

Low-level timer module for POSIX systems (interface). More...

#include <os/hptime.h>

Go to the source code of this file.

Defines

#define TIMER_TICKS_PER_SEC   250
 Most Linux kernels can't do better than this (CONFIG_HZ=250).
#define TIMER_HW_HPTICKS_PER_SEC   HPTIME_TICKS_PER_SECOND
 Frequency of the hardware high-precision timer.
#define timer_hw_irq()   do {} while (0)
 Not needed.

Detailed Description

Low-level timer module for POSIX systems (interface).

Author:
Bernie Innocenti <bernie@codewiz.org>

Definition in file timer_posix.h.


Define Documentation

#define TIMER_TICKS_PER_SEC   250

Most Linux kernels can't do better than this (CONFIG_HZ=250).

Definition at line 46 of file timer_posix.h.