From 9ff01a766d98359c7dcf199aa6c4fba7fb427140 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 7 May 2025 10:22:39 +0200 Subject: profile: include remote-execution properties Include in the profile also the effective remote-execution endpoint, properties, and dispatch list. Software projects are often tested in a variety of environments or hardware configurations; as, obviously, the performance might differ significantly (especially depending on the used hardware) a proper analysis therefore requires the possibility to distinguish the various backends. Adding the effective configuration adds this posibility. --- src/buildtool/profile/profile.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/buildtool/profile/profile.hpp') diff --git a/src/buildtool/profile/profile.hpp b/src/buildtool/profile/profile.hpp index d172ae85..a16d9996 100644 --- a/src/buildtool/profile/profile.hpp +++ b/src/buildtool/profile/profile.hpp @@ -25,6 +25,7 @@ #include "nlohmann/json.hpp" #include "src/buildtool/execution_api/common/execution_response.hpp" +#include "src/buildtool/execution_api/remote/config.hpp" #include "src/buildtool/main/cli.hpp" class Profile { @@ -36,6 +37,7 @@ class Profile { } void Write(int exit_code); + void SetRemoteExecutionConfig(RemoteExecutionConfig const&); void SetTarget(nlohmann::json target); void SetConfiguration(nlohmann::json configuration); void NoteActionCompleted(std::string const& id, -- cgit v1.2.3