From efe3001263028a2932d38b559552e9903eb1250d Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Wed, 25 Feb 2026 12:42:18 +0100 Subject: added ZEN_TRACE_CPU to various functions --- src/zencompute/functionrunner.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/zencompute/functionrunner.cpp') diff --git a/src/zencompute/functionrunner.cpp b/src/zencompute/functionrunner.cpp index 6b04add46..ccd396980 100644 --- a/src/zencompute/functionrunner.cpp +++ b/src/zencompute/functionrunner.cpp @@ -6,6 +6,7 @@ # include # include +# include # include # include @@ -74,6 +75,7 @@ BaseRunnerGroup::QueryCapacity() SubmitResult BaseRunnerGroup::SubmitAction(Ref Action) { + ZEN_TRACE_CPU("BaseRunnerGroup::SubmitAction"); RwLock::SharedLockScope _(m_RunnersLock); const int InitialIndex = m_NextSubmitIndex.load(std::memory_order_acquire); @@ -115,6 +117,7 @@ BaseRunnerGroup::SubmitAction(Ref Action) std::vector BaseRunnerGroup::SubmitActions(const std::vector>& Actions) { + ZEN_TRACE_CPU("BaseRunnerGroup::SubmitActions"); RwLock::SharedLockScope _(m_RunnersLock); const int RunnerCount = gsl::narrow(m_Runners.size()); -- cgit v1.2.3