Skip to content

Commit

Permalink
Move tracy FrameMark macro so it occurs during replay as well as onli…
Browse files Browse the repository at this point in the history
…ne consensus
  • Loading branch information
graydon committed May 9, 2024
1 parent c6f4741 commit e0fdd9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ledger/LedgerManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,6 @@ LedgerManagerImpl::valueExternalized(LedgerCloseData const& ledgerData)
lcl, getLastClosedLedgerNum());
mApp.getHerder().lastClosedLedgerIncreased(appliedLatest);
}
FrameMark;
}

void
Expand Down Expand Up @@ -1080,6 +1079,7 @@ LedgerManagerImpl::closeLedger(LedgerCloseData const& ledgerData)

std::chrono::duration<double> ledgerTimeSeconds = ledgerTime.Stop();
CLOG_DEBUG(Perf, "Applied ledger in {} seconds", ledgerTimeSeconds.count());
FrameMark;
}

void
Expand Down

5 comments on commit e0fdd9e

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from marta-lokhova
at graydon@e0fdd9e

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging graydon/stellar-core/move-frame-mark = e0fdd9e into auto

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

graydon/stellar-core/move-frame-mark = e0fdd9e merged ok, testing candidate = 60c72c3

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 60c72c3

Please sign in to comment.