Skip to content

Commit

Permalink
DPL: drop tracy support for good
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf committed Feb 22, 2024
1 parent 73e5911 commit 653ecf5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 0 additions & 4 deletions Framework/Core/src/DataProcessingDevice.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
#ifdef DPL_ENABLE_TRACING
#define TRACY_ENABLE
#include <tracy/TracyClient.cpp>
#endif
#include "Framework/AsyncQueue.h"
#include "Framework/DataProcessingDevice.h"
#include "Framework/ChannelMatching.h"
Expand Down
7 changes: 4 additions & 3 deletions Framework/Foundation/include/Framework/Tracing.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
#ifndef O2_FRAMEWORK_TRACING_H_
#define O2_FRAMEWORK_TRACING_H_

#if DPL_ENABLE_TRACING && __has_include(<tracy/Tracy.hpp>)
#define DPL_HAS_TRACING
#include <tracy/Tracy.hpp>
#if DPL_ENABLE_TRACING
// FIXME: not implemented yet in terms of Signposts
#define O2_LOCKABLE_NAMED(T, V, N) T V
#define O2_LOCKABLE(T) T
#else
#define O2_LOCKABLE_NAMED(T, V, N) T V
#define O2_LOCKABLE(T) T
Expand Down

0 comments on commit 653ecf5

Please sign in to comment.