compat.cpp File Reference

#include <unistd.h>
#include <time.h>
#include <sys/wait.h>
#include "compat.h"
#include <string>
#include <stdlib.h>
#include "timer.h"
Include dependency graph for compat.cpp:

Go to the source code of this file.

Functions

void compat_msleep (unsigned int time)
uint64_t compat_msectiming ()
uint64_t compat_get_current_time_ms ()
uint64_t compat_get_thread_cputime_us ()
int aligned_malloc (void **memptr, size_t alignment, size_t size)
void aligned_free (void *mem)
int kill_child (pid_t childPid)

Function Documentation

void aligned_free ( void *  mem  ) 

Definition at line 91 of file compat.cpp.

int aligned_malloc ( void **  memptr,
size_t  alignment,
size_t  size 
)

Definition at line 87 of file compat.cpp.

uint64_t compat_get_current_time_ms (  ) 

Definition at line 69 of file compat.cpp.

uint64_t compat_get_thread_cputime_us (  ) 

Definition at line 77 of file compat.cpp.

uint64_t compat_msectiming (  ) 

Definition at line 54 of file compat.cpp.

void compat_msleep ( unsigned int  time  ) 

Definition at line 32 of file compat.cpp.

int kill_child ( pid_t  childPid  ) 

Definition at line 96 of file compat.cpp.

Generated on Tue Aug 24 19:50:35 2010 for Lightspark by  doxygen 1.6.3