Skip to content

Commit 9267fde

Browse files
committed
More tracy instrumentation
1 parent e579033 commit 9267fde

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/herder/TransactionQueue.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -1079,6 +1079,7 @@ ClassicTransactionQueue::getMaxResourcesToFloodThisPeriod() const
10791079
TransactionQueue::BroadcastStatus
10801080
TransactionQueue::broadcastTx(TimestampedTx& tx)
10811081
{
1082+
ZoneScoped;
10821083
// Must be main thread because we are accessing the overlay manager
10831084
releaseAssert(threadIsMain());
10841085

@@ -1169,6 +1170,7 @@ SorobanTransactionQueue::getMaxResourcesToFloodThisPeriod() const
11691170
bool
11701171
SorobanTransactionQueue::broadcastSome()
11711172
{
1173+
ZoneScoped;
11721174
// Must be main thread for call to `broadcastTx`
11731175
releaseAssert(threadIsMain());
11741176

@@ -1256,6 +1258,7 @@ SorobanTransactionQueue::getMaxQueueSizeOps() const
12561258
bool
12571259
ClassicTransactionQueue::broadcastSome()
12581260
{
1261+
ZoneScoped;
12591262
// Must be main thread for call to `broadcastTx`
12601263
releaseAssert(threadIsMain());
12611264

@@ -1334,6 +1337,7 @@ ClassicTransactionQueue::broadcastSome()
13341337
void
13351338
TransactionQueue::broadcast(bool fromCallback, TxQueueLock const& guard)
13361339
{
1340+
ZoneScoped;
13371341
// Must be called from the main thread due to the use of `mBroadcastTimer`
13381342
releaseAssert(threadIsMain());
13391343

@@ -1378,6 +1382,7 @@ TransactionQueue::broadcast(bool fromCallback)
13781382
void
13791383
TransactionQueue::rebroadcast(TxQueueLock const& guard)
13801384
{
1385+
ZoneScoped;
13811386
// For `broadcast` call
13821387
releaseAssert(threadIsMain());
13831388

0 commit comments

Comments
 (0)