#include <time.h>
#include <sys/time.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <osal.h>
Go to the source code of this file.
|
ec_timet | osal_current_time (void) |
|
void | osal_free (void *ptr) |
|
int | osal_gettimeofday (struct timeval *tv, struct timezone *tz) |
|
void * | osal_malloc (size_t size) |
|
int | osal_thread_create (void *thandle, int stacksize, void *func, void *param) |
|
int | osal_thread_create_rt (void *thandle, int stacksize, void *func, void *param) |
|
void | osal_time_diff (ec_timet *start, ec_timet *end, ec_timet *diff) |
|
boolean | osal_timer_is_expired (osal_timert *self) |
|
void | osal_timer_start (osal_timert *self, uint32 timeout_usec) |
|
int | osal_usleep (uint32 usec) |
|
◆ USECS_PER_SEC
#define USECS_PER_SEC 1000000 |
◆ osal_current_time()
◆ osal_free()
void osal_free |
( |
void * |
ptr | ) |
|
◆ osal_gettimeofday()
int osal_gettimeofday |
( |
struct timeval * |
tv, |
|
|
struct timezone * |
tz |
|
) |
| |
◆ osal_malloc()
void* osal_malloc |
( |
size_t |
size | ) |
|
◆ osal_thread_create()
int osal_thread_create |
( |
void * |
thandle, |
|
|
int |
stacksize, |
|
|
void * |
func, |
|
|
void * |
param |
|
) |
| |
◆ osal_thread_create_rt()
int osal_thread_create_rt |
( |
void * |
thandle, |
|
|
int |
stacksize, |
|
|
void * |
func, |
|
|
void * |
param |
|
) |
| |
◆ osal_time_diff()
◆ osal_timer_is_expired()
◆ osal_timer_start()
◆ osal_usleep()
int osal_usleep |
( |
uint32 |
usec | ) |
|
|
inline |