Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ include(FetchContent)
FetchContent_Declare(
instrument_hooks_repo
GIT_REPOSITORY https://github.com/CodSpeedHQ/instrument-hooks
GIT_TAG e86719c70c9c0b1646db182a7c748230e243dace
GIT_TAG 0c971823b17cb5a3bbd0cce4411cbee2c6fe4317
)
FetchContent_MakeAvailable(instrument_hooks_repo)
FetchContent_GetProperties(instrument_hooks_repo)
Expand Down
8 changes: 4 additions & 4 deletions core/include/measurement.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@ inline void measurement_set_metadata() {

// Report C++ toolchain information
#ifdef CODSPEED_CXX_COMPILER_ID
instrument_hooks_set_environment(g_hooks, "C++ Compiler", "compiler_id",
instrument_hooks_set_environment(g_hooks, "cpp", "compiler_id",
CODSPEED_CXX_COMPILER_ID);
#endif
#ifdef CODSPEED_CXX_COMPILER_VERSION
instrument_hooks_set_environment(g_hooks, "C++ Compiler", "version",
instrument_hooks_set_environment(g_hooks, "cpp", "version",
CODSPEED_CXX_COMPILER_VERSION);
#endif
#ifdef CODSPEED_CXX_COMPILER_FULL_VERSION
instrument_hooks_set_environment(g_hooks, "C++ Compiler", "build",
instrument_hooks_set_environment(g_hooks, "cpp", "build",
CODSPEED_CXX_COMPILER_FULL_VERSION);
#endif
#ifdef CODSPEED_BUILD_TYPE
instrument_hooks_set_environment(g_hooks, "C++ Compiler", "build_type",
instrument_hooks_set_environment(g_hooks, "cpp", "build_type",
CODSPEED_BUILD_TYPE);
#endif
instrument_hooks_write_environment(g_hooks, static_cast<uint32_t>(getpid()));
Expand Down
Loading