Skip to content

Commit

Permalink
HPCC-32933 Track lookahead time for loop activity
Browse files Browse the repository at this point in the history
Signed-off-by: Shamser Ahmed <[email protected]>
  • Loading branch information
shamser committed Nov 6, 2024
1 parent 1751abf commit 07fe69e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions thorlcr/activities/loop/thloopslave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,12 +304,16 @@ class CLoopSlaveActivity : public CLoopSlaveActivityBase
{
while (!abortSoon)
{
OwnedConstThorRow ret = (void *)curInput->nextRow();
if (!ret)
OwnedConstThorRow ret;
{
ret.setown(curInput->nextRow()); // more cope with groups somehow....
LookAheadTimer t(slaveTimerStats, timeActivities);
ret.setown(curInput->nextRow());
if (!ret)
break;
{
ret.setown(curInput->nextRow()); // more cope with groups somehow....
if (!ret)
break;
}
}

if (finishedLooping ||
Expand Down

0 comments on commit 07fe69e

Please sign in to comment.