#include <stdio.h>
#include <cyg/kernel/kapi.h>
#include "os_ecos.h"
#include <pkgconf/kernel.h>
#include <cyg/infra/diag.h>
#include "ecos_rec_mutex.h"
#include <time.h>
#include <unistd.h>
Go to the source code of this file.
Classes | |
struct | RTOS_TASK |
Macros | |
#define | HAVE_FOSI_API |
#define | ORO_SCHED_OTHER 0 |
#define | ORO_SCHED_RT 0 |
#define | ORO_WAIT_ABS 0 |
#define | ORO_WAIT_REL 1 |
#define | rtos_printf diag_printf |
#define | SCHED_ECOS_FIFO 0 /** eCos Scheduler */ |
Typedefs | |
typedef long long | NANO_TIME |
typedef cyg_mutex_t | rt_mutex_t |
typedef cyg_recursive_mutex_t | rt_rec_mutex_t |
typedef cyg_sem_t | rt_sem_t |
typedef cyg_tick_count_t | TICK_TIME |
typedef struct timespec | TIME_SPEC |
Variables | |
const NANO_TIME | InfiniteNSecs = LONG_LONG_MAX |
const double | InfiniteSeconds = DBL_MAX |
const TICK_TIME | InfiniteTicks = ULONG_LONG_MAX |
#define HAVE_FOSI_API |
Definition at line 43 of file ecos/fosi.h.
#define ORO_SCHED_OTHER 0 |
Definition at line 62 of file ecos/fosi.h.
#define ORO_SCHED_RT 0 |
Definition at line 61 of file ecos/fosi.h.
#define ORO_WAIT_ABS 0 |
Definition at line 64 of file ecos/fosi.h.
#define ORO_WAIT_REL 1 |
Definition at line 65 of file ecos/fosi.h.
#define rtos_printf diag_printf |
Definition at line 272 of file ecos/fosi.h.
#define SCHED_ECOS_FIFO 0 /** eCos Scheduler */ |
Definition at line 60 of file ecos/fosi.h.
typedef long long NANO_TIME |
Definition at line 67 of file ecos/fosi.h.
typedef cyg_mutex_t rt_mutex_t |
Definition at line 197 of file ecos/fosi.h.
typedef cyg_recursive_mutex_t rt_rec_mutex_t |
Definition at line 198 of file ecos/fosi.h.
typedef cyg_sem_t rt_sem_t |
Definition at line 143 of file ecos/fosi.h.
typedef cyg_tick_count_t TICK_TIME |
Definition at line 68 of file ecos/fosi.h.
typedef struct timespec TIME_SPEC |
Definition at line 109 of file ecos/fosi.h.
Time conversions from nano seconds to system ticks.
Definition at line 112 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 268 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 264 of file ecos/fosi.h.
|
inline |
Get "system" time in nanoseconds
Definition at line 125 of file ecos/fosi.h.
|
inline |
Get "system" time in ticks FIXME see https://proj.fmtc.be/orocos-bugzilla/show_bug.cgi?id=60
Definition at line 130 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 207 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 201 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 226 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 220 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 214 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 231 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 244 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 258 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 236 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 252 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 151 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 145 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 157 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 170 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 188 of file ecos/fosi.h.
|
inlinestatic |
Definition at line 163 of file ecos/fosi.h.
Definition at line 179 of file ecos/fosi.h.
Time conversions from system ticks to nano seconds.
Definition at line 119 of file ecos/fosi.h.
const NANO_TIME InfiniteNSecs = LONG_LONG_MAX |
Definition at line 71 of file ecos/fosi.h.
const double InfiniteSeconds = DBL_MAX |
Definition at line 72 of file ecos/fosi.h.
const TICK_TIME InfiniteTicks = ULONG_LONG_MAX |
Definition at line 70 of file ecos/fosi.h.