diff --git a/barretenberg/cpp/cmake/msgpack.cmake b/barretenberg/cpp/cmake/msgpack.cmake index 8ce70891552..6f397946981 100644 --- a/barretenberg/cpp/cmake/msgpack.cmake +++ b/barretenberg/cpp/cmake/msgpack.cmake @@ -8,7 +8,7 @@ ExternalProject_Add( msgpack-c PREFIX ${MSGPACK_PREFIX} GIT_REPOSITORY "https://github.com/AztecProtocol/msgpack-c.git" - GIT_TAG af447c28f0bafe761290a72754212436e530941b + GIT_TAG 492d78fc4ea1f0a277433a64129cffd979f60070 CONFIGURE_COMMAND "" # No configure step BUILD_COMMAND "" # No build step INSTALL_COMMAND "" # No install step diff --git a/barretenberg/cpp/src/barretenberg/common/op_count.hpp b/barretenberg/cpp/src/barretenberg/common/op_count.hpp index 77192be5441..8e4711d001a 100644 --- a/barretenberg/cpp/src/barretenberg/common/op_count.hpp +++ b/barretenberg/cpp/src/barretenberg/common/op_count.hpp @@ -8,7 +8,13 @@ #define BB_OP_COUNT_TRACK() (void)0 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) #define BB_OP_COUNT_TRACK_NAME(name) (void)0 +// NOLINTNEXTLINE(cppcoreguidelines-macro-usage) +#define BB_OP_COUNT_CYCLES_NAME(name) (void)0 +// NOLINTNEXTLINE(cppcoreguidelines-macro-usage) +#define BB_OP_COUNT_TIME_NAME(name) (void)0 +// NOLINTNEXTLINE(cppcoreguidelines-macro-usage) #define BB_OP_COUNT_CYCLES() (void)0 +// NOLINTNEXTLINE(cppcoreguidelines-macro-usage) #define BB_OP_COUNT_TIME() (void)0 #else /** @@ -137,14 +143,18 @@ struct OpCountTimeReporter { }; } // namespace bb::detail -// NOLINTNEXTLINE(cppcoreguidelines-macro-usage) -#define BB_OP_COUNT_TRACK() bb::detail::GlobalOpCount<__func__>::increment_op_count() // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) #define BB_OP_COUNT_TRACK_NAME(name) bb::detail::GlobalOpCount::increment_op_count() // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) -#define BB_OP_COUNT_CYCLES() \ - bb::detail::OpCountCycleReporter __bb_op_count_cyles(bb::detail::GlobalOpCount<__func__>::ensure_stats()) +#define BB_OP_COUNT_TRACK() BB_OP_COUNT_TRACK_NAME(__func__) +// NOLINTNEXTLINE(cppcoreguidelines-macro-usage) +#define BB_OP_COUNT_CYCLES_NAME(name) \ + bb::detail::OpCountCycleReporter __bb_op_count_cyles(bb::detail::GlobalOpCount::ensure_stats()) +// NOLINTNEXTLINE(cppcoreguidelines-macro-usage) +#define BB_OP_COUNT_CYCLES() BB_OP_COUNT_CYCLES_NAME(__func__) +// NOLINTNEXTLINE(cppcoreguidelines-macro-usage) +#define BB_OP_COUNT_TIME_NAME(name) \ + bb::detail::OpCountTimeReporter __bb_op_count_time(bb::detail::GlobalOpCount::ensure_stats()) // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) -#define BB_OP_COUNT_TIME() \ - bb::detail::OpCountTimeReporter __bb_op_count_time(bb::detail::GlobalOpCount<__func__>::ensure_stats()) +#define BB_OP_COUNT_TIME() BB_OP_COUNT_TIME_NAME(__func__) #endif