From af284bf23f5f2f9eef98ce65dc9473dcdb68fd07 Mon Sep 17 00:00:00 2001 From: JCW Date: Mon, 2 Jun 2025 10:07:44 +0100 Subject: [PATCH] Buffer data --- include/xrpl/beast/core/FunctionProfiler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/xrpl/beast/core/FunctionProfiler.h b/include/xrpl/beast/core/FunctionProfiler.h index 37dfbe065a..1073e84093 100644 --- a/include/xrpl/beast/core/FunctionProfiler.h +++ b/include/xrpl/beast/core/FunctionProfiler.h @@ -13,12 +13,12 @@ #include #include // std::accumulate -#define PROFILING 0 +#define PROFILING 1 -#if PROFILING +#if PROFILING && (defined(__x86_64__) || defined(_M_X64)) #include #else -// #define __rdtsc() 0 +#define __rdtsc() 0 #endif namespace beast {