#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) | 
|  | 
      
        
          | #define USECS_PER_SEC   1000000 | 
      
 
 
      
        
          | 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 | 
        
          |  | ) |  |  | 
      
 
 
  
  | 
        
          | int osal_usleep | ( | uint32 | usec | ) |  |  | inline |