diff options
-rw-r--r-- | inlineasm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/inlineasm.h b/inlineasm.h index f9dd4bc..d1cb138 100644 --- a/inlineasm.h +++ b/inlineasm.h @@ -19,6 +19,13 @@ static uint32_t optmemmeasure(char* memory, uint32_t offset) ); } +// we did no acurate implementation on 32 bit x86 +static uint32_t memmeasure(char* memory, uint32_t offset) +{ + return optmemmeasure(memory, offset); +} + + static uint64_t rdtsc() { uint64_t rdtsc; |