Update benchmark.

This commit is contained in:
Yury Gribov
2025-01-26 11:31:13 +03:00
parent 9b12cb7010
commit 183923000c
+6 -7
View File
@@ -7,17 +7,16 @@
* found in the LICENSE.txt file.
*/
#include "interposed.h"
#define NITER 1000000000L
#ifdef BASELINE
__attribute((noipa)) void foo() {}
#else
#include "interposed.h"
#endif
int main() {
for (long i = 0; i < NITER; ++i)
#ifdef BASELINE
asm volatile("");
#else
foo();
#endif
return 0;
}