Skip to content

Commit

Permalink
Fix building with --enable-perf-tracking (#1161)
Browse files Browse the repository at this point in the history
* fixed typo to allow building with perf tracking
- next_sync_type changed to next_sync_type_
  • Loading branch information
freund authored Oct 11, 2024
1 parent 430b9a6 commit 6ee77fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sst/core/sync/syncManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ SimTime_t SyncManager::next_rankSync_ = MAX_SIMTIME_T;
#if SST_HIGH_RESOLUTION_CLOCK
#define SST_SYNC_PROFILE_START \
auto sim = Simulation_impl::getSimulation(); \
auto last_sync_type = next_sync_type; \
auto last_sync_type = next_sync_type_; \
auto sync_profile_start = std::chrono::high_resolution_clock::now();

#define SST_SYNC_PROFILE_STOP \
Expand All @@ -63,7 +63,7 @@ SimTime_t SyncManager::next_rankSync_ = MAX_SIMTIME_T;
#else
#define SST_SYNC_PROFILE_START \
auto sim = Simulation_impl::getSimulation(); \
auto last_sync_type = next_sync_type; \
auto last_sync_type = next_sync_type_; \
struct timeval sync_profile_stop, sync_profile_start, sync_profile_diff; \
gettimeofday(&sync_profile_start, NULL);

Expand Down

0 comments on commit 6ee77fb

Please sign in to comment.