Skip to content

Commit

Permalink
#2380: metrics: Fix include guards
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrepebay committed Dec 13, 2024
1 parent 33c3211 commit 967e20f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/vt/runnable/runnable.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
#include "vt/context/runnable_context/continuation.h"
#include "vt/pool/static_sized/memory_pool_equal.h"
#include "vt/elm/elm_id.h"
#if vt_check_enabled(perf)
#include "vt/metrics/perf_data.h"
#endif
#include "vt/runtime/runtime_inst.h"

// fwd-declarations for the element types
Expand Down
2 changes: 2 additions & 0 deletions src/vt/runtime/runtime.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@
#include "vt/timetrigger/time_trigger_manager.h"
#include "vt/phase/phase_manager.h"
#include "vt/epoch/epoch_manip.h"
#if vt_check_enabled(perf)
#include "vt/metrics/perf_data.h"
#endif

#include "vt/configs/arguments/app_config.h"
#include "vt/configs/arguments/args.h"
Expand Down
3 changes: 2 additions & 1 deletion src/vt/runtime/runtime_get.cc
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@
#include "vt/timetrigger/time_trigger_manager.h"
#include "vt/phase/phase_manager.h"
#include "vt/epoch/epoch_manip.h"
#if vt_check_enabled(perf)
#include "vt/metrics/perf_data.h"

#endif
#include <cassert>

namespace vt {
Expand Down

0 comments on commit 967e20f

Please sign in to comment.