Implement JitIL profiling on linux. I also tried implementing __rdtsc using assembly and didn't really see a speed improvement so went with clock_gettime.

Also changed other gettimeofday calls to clock_gettime, which is supposedly more accurate.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6447 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-11-20 00:22:56 +00:00
parent d1264b3258
commit ef55177ed6
5 changed files with 56 additions and 66 deletions

View File

@ -60,8 +60,7 @@
#define INFINITE 0xffffffff
#endif
//for gettimeofday and struct time(val|spec)
#include <sys/time.h>
//for clock_gettime and struct timespec
#include <time.h>
#endif