Use asm volatile during benchmarks.

This commit is contained in:
guangli-dai
2022-12-15 10:54:33 -08:00
committed by Qi Wang
parent e8b28908de
commit 09e4b38fb1
6 changed files with 51 additions and 7 deletions

View File

@@ -440,4 +440,7 @@
/* If defined, realloc(ptr, 0) defaults to "free" instead of "alloc". */
#undef JEMALLOC_ZERO_REALLOC_DEFAULT_FREE
/* If defined, use volatile asm during benchmarks. */
#undef JEMALLOC_HAVE_ASM_VOLATILE
#endif /* JEMALLOC_INTERNAL_DEFS_H_ */