File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -5290,6 +5290,8 @@ void * srt::CUDT::tsbpd(void* param)
52905290 bool shall_update_group = false ;
52915291#endif
52925292
5293+ INCREMENT_THREAD_ITERATIONS ();
5294+
52935295 enterCS (self->m_RcvBufferLock );
52945296 const steady_clock::time_point tnow = steady_clock::now ();
52955297
Original file line number Diff line number Diff line change @@ -523,6 +523,8 @@ void* srt::CSndQueue::worker(void* param)
523523 {
524524 const steady_clock::time_point next_time = self->m_pSndUList ->getNextProcTime ();
525525
526+ INCREMENT_THREAD_ITERATIONS ();
527+
526528 IF_DEBUG_HIGHRATE (self->m_WorkerStats .lIteration ++);
527529
528530 if (is_zero (next_time))
@@ -1219,6 +1221,8 @@ void* srt::CRcvQueue::worker(void* param)
12191221 {
12201222 bool have_received = false ;
12211223 EReadStatus rst = self->worker_RetrieveUnit ((id), (unit), (sa));
1224+
1225+ INCREMENT_THREAD_ITERATIONS ();
12221226 if (rst == RST_OK)
12231227 {
12241228 if (id < 0 )
You can’t perform that action at this time.
0 commit comments