1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-08-08 07:09:52 +00:00

initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4

This commit is contained in:
fgenesis 2011-08-03 22:05:33 +02:00
commit 3096eaf5e2
2519 changed files with 816064 additions and 0 deletions

View file

@ -0,0 +1,24 @@
#ifndef Prof_INC_PROF_WIN32_H
#define Prof_INC_PROF_WIN32_H
typedef __int64 Prof_Int64;
#ifdef __cplusplus
inline
#elif _MSC_VER >= 1200
__forceinline
#else
static
#endif
void Prof_get_timestamp(Prof_Int64 *result)
{
__asm {
rdtsc;
mov ebx, result
mov [ebx], eax
mov [ebx+4], edx
}
}
#endif