#include <time.h>
#include <sys/time.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <osal.h>
#include "ee_x86_64_tsc.h"
Go to the source code of this file.
Macros | |
#define | NSECS_PER_SEC 1000000000 |
#define | USECS_PER_SEC 1000000 |
Functions | |
void | ee_usleep (uint32 usec) |
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) |
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) |
uint64_t | osEE_x86_64_tsc_read (void) |
#define NSECS_PER_SEC 1000000000 |
Definition at line 16 of file erika/osal.c.
#define USECS_PER_SEC 1000000 |
Definition at line 15 of file erika/osal.c.
void ee_usleep | ( | uint32 | usec | ) |
ec_timet osal_current_time | ( | void | ) |
Definition at line 37 of file erika/osal.c.
void osal_free | ( | void * | ptr | ) |
Definition at line 99 of file erika/osal.c.
int osal_gettimeofday | ( | struct timeval * | tv, |
struct timezone * | tz | ||
) |
Definition at line 28 of file erika/osal.c.
void* osal_malloc | ( | size_t | size | ) |
Definition at line 94 of file erika/osal.c.
Definition at line 48 of file erika/osal.c.
boolean osal_timer_is_expired | ( | osal_timert * | self | ) |
Definition at line 74 of file erika/osal.c.
void osal_timer_start | ( | osal_timert * | self, |
uint32 | timeout_usec | ||
) |
Definition at line 59 of file erika/osal.c.
|
inline |
Definition at line 22 of file erika/osal.c.
uint64_t osEE_x86_64_tsc_read | ( | void | ) |