Skip to content

Commit

Permalink
HPCC-32930 Capture and report start timings for activities derived fr…
Browse files Browse the repository at this point in the history
…om CInMemJoinBase

Capture start timing for input activities started asynchronously by CInMemJoinBase.

Signed-off-by: Shamser Ahmed <[email protected]>
  • Loading branch information
shamser committed Nov 1, 2024
1 parent 4c31ec4 commit 31d7794
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion thorlcr/activities/lookupjoin/thlookupjoinslave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,10 @@ class CInMemJoinBase : public CSlaveActivity, public CAllOrLookupHelper<HELPER>,
{
try
{
startInput(0);
{
LookAheadTimer t(slaveTimerStats, timeActivities);
startInput(0);
}
if (ensureStartFTLookAhead(0))
setLookAhead(0, createRowStreamLookAhead(this, inputStream, queryRowInterfaces(input), LOOKUPJOINL_SMART_BUFFER_SIZE, ::canStall(input), grouped, RCUNBOUND, this), false);
left.set(inputStream); // can be replaced by loader stream
Expand Down Expand Up @@ -1565,6 +1568,7 @@ class CInMemJoinBase : public CSlaveActivity, public CAllOrLookupHelper<HELPER>,
CAsyncCallStart asyncLeftStart(std::bind(&CInMemJoinBase::startLeftInput, this));
try
{
ActivityTimer timer(slaveTimerStats, timeActivities);
startInput(1);
rhsStartedBefore = true;
}
Expand Down

0 comments on commit 31d7794

Please sign in to comment.